post https://pay2new.in/apis/dmt/v2/remitterProfile
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 |
Sample Request
curl --location 'https://pay2new.in/apis/dmt/v2/remitterProfile' \
--header 'secret:qwertyuQWERTY12345asdf' \
--header 'outletId: 2' \
--header 'Content-Type: application/json'
--data '{
"mobile": "9876543210"
}'
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://pay2new.in/apis/dmt/v1/remitterProfile',
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 Parameters
Parameters | Type | Description |
---|---|---|
status | Integer | Pay2New Status Code |
message | String | Message from API |
data | Array | Response Data (If Present) |
order_id | String | Transaction Id ( If transaction otherwise it is null ) |
Sample Response
{
"status": 1,
"message": "Success",
"data": {
"mobileNumber": "9876543210",
"firstName": "Pay2New",
"lastName": "Fintech",
"city": "NAGAR",
"pincode": "414003",
"limitPerTransaction": 5000,
"limitTotal": "25000.00",
"limitConsumed": "10.00",
"limitAvailable": "24990.00",
"limitDetails": {
"maximumDailyLimit": "25000.00",
"consumedDailyLimit": "10.00",
"availableDailyLimit": "24990.00",
"maximumMonthlyLimit": "25000.00",
"consumedMonthlyLimit": "10.00",
"availableMonthlyLimit": "24990.00"
},
"beneficiaries": [
{
"id": "55fa6d57d66a99d5082xxxxxxxxxx6555de",
"name": "PAY2NEW FINTECH",
"account": "1234567890",
"ifsc": "SBIN0008010",
"bank": "STATE BANK OF INDIA",
"beneficiaryMobileNumber": "9876543210",
"verificationDt": "2025-01-25 13:54:04"
}
],
"isTxnOtpRequired": true,
"isTxnBioAuthRequired": false,
"isFaceAuthAvailable": true,
"validity": "2025-01-30 15:17:57",
"referenceKey": "5BVNs52tB+JbWvtO+2E8tyllAvF6UiduZ40j4JgbwxMViHKA+IaO9JXIkhU4zw/12121213",
"pidOptionWadh": "E0jzJ/P8UopUHAieZn8CKqS4WPMi5ZSYXgfnlfkWjr454544544874545c="
},
"order_id": null
}
// If Remitter Not Found
{
"status": 3,
"message": "Remitter Not Found",
"data": {
"validity": "2025-01-30 14:56:28",
"referenceKey": "5BVNs52tB+JbWvtO+2E8tyllAvF6UiduZ40j4JgbwxMViHKA+IaO9JXIkhU4zw/12121213",
"isTxnOtpRequired": true,
"isTxnBioAuthRequired": false,
"isFaceAuthAvailable": true,
"pidOptionWadh": "E0jzJ/P8UopUHAieZn8CKqS4WPMi5ZSYXgfnlfkWjr454544544874545c="
},
"order_id": null
}