Bank Accounts
Register and manage creditor bank accounts for payment settlement.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/payment/bank-account" \ -H "x-tenant: KSA"{ "data": [ { "accountHolderName": "string", "accountIdentification": "string", "bankName": "string", "createdAt": "2019-08-24T14:15:22Z", "id": "string", "isDefault": true, "name": "string", "scheme": "string" } ], "error": "string", "errorDescription": { "property1": [ "string" ], "property2": [ "string" ] }, "meta": { "currentPageNumber": 0, "pageSize": 0, "totalNumberOfPages": 0 }}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "not_found", "details": {}, "message": "string"}Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/payment/bank-account" \ -H "x-tenant: KSA" \ -H "Content-Type: application/json" \ -d '{ "accountDetails": { "identificationNumber": "string" }, "accountHolderDetails": { "name": "string" } }'{ "data": { "accountHolderName": "string", "accountIdentification": "string", "bankName": "string", "createdAt": "2019-08-24T14:15:22Z", "id": "string", "isDefault": true, "name": "string", "scheme": "string" }, "error": "string", "errorDescription": { "property1": [ "string" ], "property2": [ "string" ] }}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "not_found", "details": {}, "message": "string"}Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/payment/bank-account/default" \ -H "x-tenant: KSA"{ "data": { "accountHolderName": "string", "accountIdentification": "string", "bankName": "string", "createdAt": "2019-08-24T14:15:22Z", "id": "string", "isDefault": true, "name": "string", "scheme": "string" }, "error": "string", "errorDescription": { "property1": [ "string" ], "property2": [ "string" ] }}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "not_found", "details": {}, "message": "string"}Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/payment/bank-account/default" \ -H "x-tenant: KSA"{ "data": { "id": "string", "identification": "string", "name": "string", "schemeName": "string" }, "error": "string", "errorDescription": { "property1": [ "string" ], "property2": [ "string" ] }}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "not_found", "details": {}, "message": "string"}Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/payment/bank-account/string" \ -H "x-tenant: KSA"{ "data": { "accountHolderName": "string", "accountIdentification": "string", "bankName": "string", "createdAt": "2019-08-24T14:15:22Z", "id": "string", "isDefault": true, "name": "string", "scheme": "string" }, "error": "string", "errorDescription": { "property1": [ "string" ], "property2": [ "string" ] }}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "not_found", "details": {}, "message": "string"}Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/payment/bank-account/string" \ -H "x-tenant: KSA"{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "string", "details": {}, "message": "string"}{ "code": "not_found", "details": {}, "message": "string"}