For the PSD2, one of the APIs is the Confirmation of funds. The description of the API is here:
For That API PSD2 need to address Flexcube API. This task request this API.
End-point URL #
http://[ip]:[port]/psd2/v1/funds-confirmations
Method: POST
Request body:
{
"account": {
"id": -1,
"iban": "IBAN",
"accountId": null,
"withTransactions": null,
"withBalances": null,
"withDetails": null,
"consentId": 0,
"currency": null,
"tries": 0,
"currentDate": null,
"branch": null
},
"instructedAmount": {
"currency": "USD",
"amount": 100
}
}
Response:
Code |
Description |
200 |
success |
400 |
Bad request |
500 |
Server error |
{
"status": false
}
{
"code": 400,
"description": "Bad Request"
}
{
"code": 500,
"description": "Reason phrase of the status must not contain CR or LF characters."
}
Code Snippet #