cURL
curl --request POST \ --url https://api.paytring.com/api/v2/payout/create \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "pg": "<string>", "method": "<string>", "account_number": "<string>", "beneficiary_id": "<string>", "receipt_id": "<string>", "amount": "<string>", "notes": { "udf1": "<string>", "udf2": "<string>", "udf3": "<string>", "udf4": "<string>", "udf5": "<string>" } }'
"{\n \"status\": true,\n \"payment_status\": \"success\",\n \"message\": \"Amount transfered successfully\",\n \"transfer_id\": \"XXXXXXXXXXXXX\"\n}"
Send money to accounts or via imps , rtgs or upi transfer
{ "pg": "string", // Payment gateway (e.g., 'decentro') "method": "string", // Transfer method (e.g., 'upi', 'imps') "account_number": "string", // Account number to be debited "beneficiary_id": "string", // Beneficiary ID "receipt_id": "string", // Receipt ID "amount": "string", // Amount to transfer "notes": "object" // Additional notes }
{ "status": true, "payment_status": "success", "message": "Amount transferred successfully", "transfer_id": "XXXXXXXXXXXXX" }
{ "status": false, "error": { "message": "Hash not verified.", "code": 158 } }
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 object.
object