Skip to main content
POST
/
v3
/
beneficiary
Create Beneficiary
curl --request POST \
  --url https://service-sandbox.tazapay.com/v3/beneficiary \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_id": "acc_cr83unf7j0t2odh9ioc0",
  "name": "test",
  "type": "individual",
  "email": "test@example.com",
  "tax_id": "",
  "destination_details": {
    "type": "bank",
    "bank": {
      "country": "IN",
      "currency": "INR",
      "bank_codes": {
        "swift_code": "Test",
        "ifsc_code": "Test"
      },
      "bank_name": "hdfc",
      "account_number": "Test",
      "firc_required": true,
      "purpose_code": "Test"
    }
  },
  "address": {
    "line1": "Test",
    "line2": "Test",
    "city": "Test",
    "state": "Test",
    "country": "IN",
    "postal_code": "110017"
  },
  "phone": {
    "number": "",
    "calling_code": "91"
  },
  "nationality": "IN"
}
'
{
  "status": "success",
  "message": "",
  "data": {
    "address": {
      "city": "Test",
      "country": "IN",
      "line1": "Test",
      "line2": "Test",
      "postal_code": "110017",
      "state": "Test"
    },
    "created_at": "2024-10-03T11:03:40.326462Z",
    "destination": "bnk_crv7k337eoqgk10pqp40",
    "destination_details": {
      "bank": {
        "account_number": "Test",
        "account_type": "",
        "bank_codes": {
          "ifsc_code": "Test",
          "swift_code": "Test"
        },
        "bank_name": "hdfc",
        "branch_name": "",
        "country": "IN",
        "currency": "INR",
        "firc_required": true,
        "purpose_code": "Test"
      },
      "type": "bank"
    },
    "documents": [],
    "email": "test@example.com",
    "id": "bnf_crv7k31h1l071n2fkbjg",
    "metadata": null,
    "name": "test",
    "object": "beneficiary",
    "phone": {
      "calling_code": "91",
      "number": "9362987920"
    },
    "tax_id": "",
    "type": "individual"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
name
string
required

Beneficiary Name

Maximum string length: 140
type
enum<string>
required

business or individual

Available options:
business,
individual
email
string

Email Address

address
object

Address (Mandatory if destination_details.type is a wallet)

phone
object

Phone

destination_details
object

Destination Details

destination
string

ID of the destination attached to the beneficiary

metadata
string<json>

Set of key-value pairs to attach to the beneficiary

tax_id
string

Tax ID of the beneficiary. (CPF or CPNJ is mandatory for payouts to Brazil)

documents
object

Documents to attach to the beneficiary

national_identification_number
string

National ID of the individual

registration_number
string

Registration number of the business (Mandatory if destination_details.type is a wallet and type is business)

date_of_birth
string

Date of birth of individual, Format DD-MM-YYYY (Mandatory if destination_details.type is a wallet and type is individual)

nationality
string

ISO 3166-1 alpha-2 country code representing the beneficiary's nationality (e.g., US, GB, IN, FR). Optional field used for enhanced compliance screening. Sending this field will reduce compliance hold.

party_classification
enum<string>
default:""

Type of relationship between beneficiary and creator of beneficiary Possible values - self, third_party (Mandatory if destination_details.type is a wallet)

Available options:
self,
third_party
name_local
string

Name in local language

Response

200

Represents a payout beneficiary with personal, contact, and destination details.

address
object

Address details of the beneficiary.

date_of_birth
string

Date of birth of the beneficiary in YYYY-MM-DD format.

nationality
string

ISO 3166-1 alpha-2 country code representing the beneficiary's nationality. Optional field used for enhanced compliance screening. Sending this field will reduce compliance hold.

destination
string

Identifier or reference to the beneficiary's payment destination (bank account, wallet, etc.).

destination_details
object

Details about the payout destination, such as wallet or bank.

documents
object[]

List of documents associated with the beneficiary (e.g., ID proof, address proof).

email
string

Email address of the beneficiary.

name
string

Full name of the beneficiary.

name_local
string

Local language representation of the beneficiary's name, if applicable.

national_identification_number
string

National identification number or equivalent ID.

party_classification
string

Classification of the beneficiary.Possible Values - 'self', 'third_party'.

phone
object

Contact phone information of the beneficiary.

registration_number
string

Registration or incorporation number for business beneficiaries.

tax_id
string

Tax identification number for the beneficiary.

type
string

Specifies whether the beneficiary is an 'individual' or a 'business'.