Initiates a funds transfer transaction. This endpoint supports different types of transfers (e.g. P2P, P2M, M2M). The request payload must include transaction details and initiation data.
post
/api/v1/payments/funds-transfers
Authorizations
Body
transactionTypeenumrequired
Example: P2P
Options: P2P, P2M, M2M
initiationobjectrequired
Responses
application/json
application/json
cURL
JavaScript
Python
HTTP
curl -L \
--request POST \
--url 'http://127.0.0.1:8080/api/v1/payments/funds-transfers' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--header 'Content-Type: application/json' \
--data '{"transactionType":"P2P","initiation":{"amount":{"amount":"2000760","currency":"lyd"},"debtorAccount":{"schemeName":"iban","identification":"LY5802500810085121000","name":"Mohammed Mahmoud Altaleesi"},"creditorAccount":{"schemeName":"iban","identification":"LY5802500810085121000","name":"Ahmad Mohammed Houssain"},"creditorInstitution":{"name":"Bank Name","code":"01"},"additionalData":{"billNumber":"OPTIONAL","mobileNumber":"OPTIONAL","storeLabel":"OPTIONAL","referenceLabel":"OPTIONAL","customerLabel":"OPTIONAL","terminalLabel":"OPTIONAL","purposeOfTransaction":"OPTIONAL"},"description":"<p>Text explaining the reason of this payment</p>"}}'
Retrieves the status and details of a funds transfer transaction using its UUID. Query parameters (paymentReference and transactionTimestamp) may be used for additional filtering.
get
/api/v1/payments/funds-transfers/{uuid}
Authorizations
Path parameters
uuidstringrequired
Unique identifier of the funds transfer transaction