API Documentation
Paytring Checkout Payment
Merchant Hosted Checkout Payment
Subscription Management
Payout Management
Settlement Management
Vendor Management
Payout Management
Fetch Beneficiary
POST
/
api
/
v2
/
payout
/
beneficiary
/
fetch
Copy
curl --request POST \
--url https://api.paytring.com/api/v2/payout/beneficiary/fetch \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"id": "5000193xxxxxxxxx"
}'
Copy
"{\n \"status\": true,\n \"message\": \"Beneficiary Account Details Fetched successfully.\",\n \"data\": {\n \"beneficiary_id\": 59113xxxxxxxxxxxx06,\n \"name\": \"Anxxxx\",\n \"vpa\": \"4nxxxd@okhdfcbank\",\n \"account_number\": \"91965xxxxxx3\",\n \"ifsc\": \"PYTM0123456\",\n \"phone\": \"965xxxxxx3\",\n \"email\": \"a@mxxx.in\",\n \"address\": \"Gurgaon\"\n }\n}"
This API retrieves details of a specific beneficiary.
Request Body
Copy
{
"id": "string" // Beneficiary ID received in response to the Add Beneficiary API
}
Responses
200 OK
Copy
{
"status": true,
"beneficiary": {
"name": "string",
"email": "string",
"phone": "string",
"vpa": "string",
"account": {
"account_no": "string",
"ifsc": "string"
}
}
}
400 Bad Request
Copy
{
"status": false,
"error": {
"message": "Invalid request",
"code": 400
}
}
Authorizations
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 any
.
Copy
curl --request POST \
--url https://api.paytring.com/api/v2/payout/beneficiary/fetch \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"id": "5000193xxxxxxxxx"
}'
Copy
"{\n \"status\": true,\n \"message\": \"Beneficiary Account Details Fetched successfully.\",\n \"data\": {\n \"beneficiary_id\": 59113xxxxxxxxxxxx06,\n \"name\": \"Anxxxx\",\n \"vpa\": \"4nxxxd@okhdfcbank\",\n \"account_number\": \"91965xxxxxx3\",\n \"ifsc\": \"PYTM0123456\",\n \"phone\": \"965xxxxxx3\",\n \"email\": \"a@mxxx.in\",\n \"address\": \"Gurgaon\"\n }\n}"
Assistant
Responses are generated using AI and may contain mistakes.