Invincible Pay
Beneficiaries

Create beneficiary

This endpoint allows you to create beneficiaries. You need to create beneficiaries before making any transaction.

POST
/v1/beneficiaries

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://api.invinciblepay.com/v1/beneficiaries" \  -H "Content-Type: application/json" \  -d '{    "firstName": "string",    "lastName": "string",    "type": "customer"  }'
{
  "accountNumber": "string",
  "bankNumber": "string",
  "companyName": "string",
  "createdAt": 0,
  "email": "string",
  "firstName": "string",
  "id": "string",
  "lastModifiedAt": 0,
  "lastName": "string",
  "middleName": "string",
  "nickname": "string",
  "purposeCode": "string",
  "transitNumber": "string",
  "type": "customer",
  "walletReference": "string"
}
{
  "error": "string",
  "error_code": {}
}
{
  "error": "string",
  "error_code": {}
}