Create beneficiary
Changed onSaves a payout beneficiary and returns its ID. Reuse the ID for anyone you pay more than once, rather than re-entering account details.
Request
- Base URLhttps://api.kyshi.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"accountName": "John Clam",
"accountNumber": "2250734567890",
"bankName": "Orange CIV",
"bankCode": "ORANGE_CIV",
"currency": "XOF",
"description": "Monthly payout beneficiary",
"bvn": "22222222222",
"nameEnqRef": "name-enquiry-ref-100045"
}Response
Success.
Example response
{
"status": true,
"message": "Success",
"code": 200,
"data": {}
}Changes
- breaking
the request property
became required - breaking
the request property
became required - info
the endpoint scheme security
ApiKeyAuthwas added to the API - info
added the new
USDenum value to the request property - info
added the new
XOFenum value to the request property - info
added the new
ZARenum value to the request property - info
added
subschema #2to the response bodyallOflist for the response status - info
removed from the response body
allOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking