Logo
Peach Payments Public API Documentation

Add Beneficiary

POST {{beneficiaryUrl}}/api/beneficiaries/payments

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status OK

{ "accountNumber": "123456789", "bankName": "", "branchCode": "632005", "debitDay": null, "debitMonth": null, "trackingDays": null, "accountType": 0, "amount": null, "clientCode": "PPPPQA", "clientName": "Peach Payments QA", "customerCode": "651", "endDate": null, "id": "093082197131051029021186031161076200118079150022", "installments": null, "isActive": true, "name": "Mrs. Van Corwin", "recurringPeriod": 0, "reference": "1664198108", "scheduleType": 0, "serviceCode": "DEBORD", "startDate": null, "tokenHash": "B8195B923B679551AD322FE59AD5D1300274E557" }



Curl
curl -X POST 'beneficiaryUrl/api/beneficiaries/payments' -H 'Content-Type: application/json' -d '{"accountNumber":"123456789","amount":null,"branchCode":"632005","clientCode":"PPclientCode","clientName":"clientName","customerCode":"$randomInt","id":null,"isActive":true,"name":"$randomFullName","reference":"$timestamp","scheculeType":0,"serviceCode":"DEBORD"}'

ENDPOINTS