Here, we will review how to make a manual loan contract disbursement.
An existing loan contract with the ID-1664282474 headerID.
...contracts/ID-1664282474/initialise-disbursement
The loan payout 5000 GBP
will be sent to the account that belongs to the borrower Trevor Harry Tuum.
To make a manual loan disbursement, make the following API call.
https://loan-api.sandbox.tuumplatform.com/api/v1/contracts/{headerId}/initialise-disbursement
Below is an example request body of the API call for making a manual disbursement.
{
"paymentInstruction": {
"beneficiaryName": "Trevor Harry Tuum",
"beneficiaryIban": "XX54XXXX99999000000000000001257",
"money": {
"amount": "5000",
"currencyCode": "GBP"
}
}
}
curl -L 'https://loan-api.sandbox.tuumplatform.com/api/v1/contracts/ID-1664282474/initialise-disbursement' \
-H 'x-channel-code: SYSTEM' \
-H 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHBpcnlEVGltZSI6IjIwMjMtMDctMDVUMjA6MDM6MTYiLCJyb2xlcyI6WyJBRE1JTiJdLCJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHAiOjE2ODg1ODczOTZ9.8vhYc2X-4bIUTY7AQQHEN4lR55EhHqzLjiakhWJ1je8' \
-H 'Content-Type: application/json' \
-d '{
"paymentInstruction": {
"beneficiaryName": "Trevor Harry Tuum",
"beneficiaryIban": "XX54XXXX99999000000000000001257",
"money": {
"amount": "5000",
"currencyCode": "GBP"
}
}
}'
Below you find an example response body to the API call above.
The payment instructions ID-1664282486
were created. The loan will be disbursed to the borrower's bank account.
"paymentInstruction": {
"beneficiaryName": "Trevor Harry Tuum",
"beneficiaryIban": "XX54XXXX99999000000000000001257",
"money": {
"amount": "5000",
"currencyCode": "GBP"
}
}