POST
/
api
/
v2
/
payout
/
beneficiary
/
create
curl --request POST \
  --url https://api.paytring.com/api/v2/payout/beneficiary/create \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "user",
  "phone": "<string>",
  "email": "<string>",
  "address": "delhi",
  "account_number": "<string>",
  "ifsc": "<string>",
  "vpa": "<string>"
}'
"{\n    \"status\": true,\n    \"message\": \"Beneficiary Account Added successfully.\",\n    \"beneficiary_id\": \"59113xxxxxxxxx6\"\n}"

This API is used to add a new beneficiary to the payout system.

Request Body

{
  "name": "string", // Beneficiary name
  "email": "string", // Beneficiary email
  "phone": "string", // Beneficiary phone number
  "vpa": "string", // Virtual Payment Address (VPA)
  "account": {
    "account_no": "string", // Account number
    "ifsc": "string" // IFSC code
  }
}

Responses

200 OK

{
  "status": true,
  "beneficiary_id": "string"
}

400 Bad Request

{
  "status": false,
  "error": {
    "message": "Invalid request",
    "code": 400
  }
}

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

Response

200
application/json

200

The response is of type object.