Customers can use this endpoint to transfer funds from their loan wallet balance to a registered bank account.
[https://finlend.fincode.software/api/v1/services/user/transfer-funds-to-bank](https://finlend.fincode.software/api/v1/services/user/transfer-funds-to-bank)
The JWT Access Token obtained from the /login or /refresh-token endpoint.
Unique idempotency key for the request to prevent duplicate processing.
The date and time at which the request was initiated (ISO 8601 format).
x-fapi-customer-ip-address
The IP address of the customer making the request.
Unique identifier for the interaction/session.
Content-Type
string
default:"application/json"
required
Must be application/json.
Request Body
The unique identifier (UUID) of the customer making the transfer.
Amount to transfer from wallet to bank account.
The unique identifier (UUID) of the bank account to transfer funds to.
Bank account number to transfer to.
Bank code of the destination bank.
Account holder name as it appears on the bank account.
Transaction PIN for authorization (if required).
Optional description or reference for the transfer.
Response
Returns confirmation of the fund transfer with transaction details.
Overall status of the API request.
Transfer confirmation details.
Unique reference number for the transfer transaction.
Unique identifier for the transfer.
Status of the transfer (e.g., PENDING, PROCESSING, COMPLETED, FAILED).
Date and time when the transfer was initiated.
Estimated time for the transfer to be completed.
Code Examples
curl --location --request POST 'https://finlend.fincode.software/api/v1/services/user/transfer-funds-to-bank' \
--header 'X-Auth-Token: YOUR_JWT_ACCESS_TOKEN' \
--header 'x-idempotency-key: unique-key-12345' \
--header 'x-fapi-auth-date: 2024-01-15T10:30:00Z' \
--header 'x-fapi-customer-ip-address: 192.168.1.1' \
--header 'x-fapi-interaction-id: interaction-12345' \
--header 'Content-Type: application/json' \
--data '{
"customerId": "123e4567-e89b-12d3-a456-426614174000",
"amount": 10000.00,
"bankAccountId": "123e4567-e89b-12d3-a456-426614174000",
"accountNumber": "1234567890",
"bankCode": "058",
"accountName": "John Doe",
"transactionPin": "1234",
"description": "Transfer to savings account"
}'