Add beneficiary to payroll
A comprehensive testing strategy is crucial to ensure the successful integration of SmartpayGenie into your application. Here are some key testing types:
Add beneficiary
https://api.smartpaygenie.com/payroll/beneficiary
'POST'
Request parameters
Parameters
Type
Description
Required
account_number
String
Recipients account number
Yes
bank_code
String
Recipients bank code
Yes
amount
Number
Amount to be paid to the beneficiary
Yes
currency
String
Date of payment
Yes
metadata
Object
Additional metadata (optional)
No
Note:
Currency must be supported by SmartpayGenie. Check our currencysection to see our supported list.
Request Payload
JSON
{ "id": "beneficiary_id", "payroll_id": "payroll_id_1", "account_number": 1234567890, "bank_code": "BANKCODE", "amount": "500.00", "currency": "USD", "metadata": { "description": "beneficiary" } }
Response
200 - OK successful response
[ { "id": "beneficiary_id", "payroll_id": "payroll_id_1", "account_number": "123456789", "bank_code": "BANKCODE", "amount": "500", "metadata": "Optional" } ]
Support
If you encounter any issues or have questions, please feel free to contact our dedicated support team.
We are committed to providing you with the best possible experience and support.