cURL
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" }'
"{\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}"
{ "id": "string" // Beneficiary ID received in response to the Add Beneficiary API }
{ "status": true, "beneficiary": { "name": "string", "email": "string", "phone": "string", "vpa": "string", "account": { "account_no": "string", "ifsc": "string" } } }
{ "status": false, "error": { "message": "Invalid request", "code": 400 } }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
200
The response is of type any.
any