post https://pay2new.in/apis/dmt/v2/remitterRegistrationVerify
Header Request
secret : Unique secret key (Provided by Pay2New)
outletId: Unique OutletID (Provided by Pay2New)
Request Parameters
Parameters | Type | Description |
---|---|---|
mobile | String | Mobile number of the Remitter |
otp | String | Remitter OTP |
referenceKey | String | Remitter Registration API response reference Key |
Sample Request
curl --location 'https://pay2new.in/apis/dmt/v2/remitterRegistrationVerify' \
--header 'secret: qwertyuQWERTY12345asdf' \
--header 'outletId: 2' \
--header 'Content-Type: application/json' \
--data '{
"mobile": "9876543210",
"otp" : "123456",
"referenceKey" : "Dsx932+/d9sP3iNKSQQu2kTTsiA9ipMqitgaaa6ttWpQBfX0PYq7dfdWu2cLzrc7vKd.v2.523e89d2aa4f0289-0287-475f-9af8-261ffdb5c7c4"
}'
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://pay2new.in/apis/dmt/v1/remitterLimit',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"mobile": "9876543210"
}',
CURLOPT_HTTPHEADER => array(
'secret: qwertyuQWERTY12345asdf',
'outletId: 2',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Response Parameter
Parameters | Type | Description |
---|---|---|
status | Integer | Pay2New Status Code |
message | String | Message from API |
data | Array | Response Data (If Present) |
data.validity | String | KYC validity |
data.referenceKey | String | KYC Reference Key |
order_id | String | Transaction Id ( If transaction otherwise it is null ) |
Sample Response
{
"status": 3,
"message": "Mobile validated successfully please proceed for kyc",
"data": {
"validity": "2025-01-30 14:49:00",
"referenceKey": "BTgyI/SWnn6GjAsOyfJFG56sFUUQg2/TRn356Qt9mrTBBQZPsLsL1/UULWwDyXbc.v2.a765ca6eMjQzMjYxMjQzMTMyMjQyZjZkMmU3ODMwNTE0ZDU2MmU2YjJmNjQ3ODU2NmUzNTRjMzEyZTY1NTUyZTM1N2E1OTM5NTQ0MTQ1NGU3MjY1NDI2MTMzNzY2ZTYzNDgzMTMyNWE0OTZiNTY1NzRlMzk0MjM4Njk2ZDY5"
},
"order_id": null
}