Skip to main content

Payout Contacts

Payout Contacts

Postman Collection

URL

POST : /v1/service/payout/contacts

Headers

Content-Type  (String)   required
application/json
Authorization  (String)   required
Basic Auth
Accept  (String)   required
application/json

Body Params

ifsc  (String)   Required
Bank IFSC Code (Max Length: 11)
referenceId  (String)   Required
Unique Reference number (Max Length: 30)

Generate Signature

Example Signature
    $salt='{{$salt_key}}';
$client = "{{client_key}}";
$base64_num=base64_encode(json_encode(
[
"firstName" => "Anil",
"lastName" => "Kumar",
"email" => "testu@gmail.com",
"mobile" => "639XXXX138",
"type" => "customer",
"accountType" => "bank_account",
"accountNumber" => "2427XXXX020109",
"ifsc" => "BARBXXXXIKT",
"referenceId" => ""
]
));
hash('sha256', $base64_num."/v1/service/payout/contacts{{$client_key}}####{{$salt_key}}");

Request

Example Request
    curl --location '/v1/service/payout/contacts' \
--header 'signature: 1b519366355f300df67d5de8f40a73f56671c38d6cfce9a97d42e6864709a507' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"ifsc": "BARBXXXXIKT",
"referenceId": ""
}'

Response Samples

    {
"code": "0x0200",
"message": "Contact created successfully",
"status": "SUCCESS",
"data": {
"contactId": "CONT_185XXXX720580306C74F",
"firstName": "Anil",
"lastName": "Kumar",
"email": "testu@gmail.com",
"mobile": "639XXXX138",
"type": "customer",
"accountType": "bank_account",
"reference": "",
"isActive": "1",
"accountNumber": "2427XXXX020109",
"accountIFSC": "BARB0XXXXKT"
}
}

Response Code

Status CodeStatusMessage
0x0200SUCCESSTRANSACTION SUCCESSFULL
0x0201UNAUTHORIZEDUNAUTHORIZED USER
0x0202FAILUREFAILURE USER
0x0203MISSING_PARAMETERMISSING PARAMETER
0x0204CONNECTION_TIMEOUTCONNECTION TIMEOUT
0x0205SOMETHING_WENT_WRONGSOMETHING WENT WRONG
0x0206PENDINGTRANSACTION PENDING
0x0207REVERSEDTRANSACTION REVERSED
0x0209REDIRECTREDIRECT URL