curl --request POST \
--url https://sandbox.dollarpe.xyz/pis/api/v1/payin/quotation \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>' \
--data '
{
"asset": "usdt",
"fiat": "inr",
"sending_amount": "51",
"customer_id": "def8b740-99f9-4cba-bc9e-99de57e927b4",
"bank_id": "4e6f1b20-a73c-11ec-b909-0242ac120002",
"payment_method": "IMPS",
"risk_parameters": {
"ip_address": "127.0.0.1",
"device_id": "<string>",
"suspicious_activity_report": false,
"law_enforcement_agency_report": false
}
}
'{
"status": true,
"message": "Success",
"data": {
"id": "2e104290-07c8-49f1-a5ca-0d27f0078f8a",
"customer_id": "def8b740-99f9-4cba-bc9e-99de57e927b4",
"bank_id": "4e6f1b20-a73c-11ec-b909-0242ac120002",
"asset": "USDT",
"fiat": "INR",
"payment_method": "IMPS",
"sending_amount": 1000,
"rate": 91.91,
"receiving_amount": 108.8,
"fees": {
"client_fee_fiat": 450,
"client_fee_crypto": 5,
"dollarpe_fee": 450,
"pg_fee": 18,
"client_gst_fiat": 81,
"client_gst_crypto": 0.9,
"dollarpe_gst": 81,
"pg_gst": 81,
"tds": 889.17,
"gross_effective_exchange_rate": 88.92
},
"deposit_instructions": {
"account_number": "1234567890",
"ifsc": "SBIN0000001",
"account_name": "Sandbox Technologies Pvt Ltd"
},
"created_at": "2025-03-08T07:31:11.163005Z",
"expiry_time": "2025-03-08T07:36:11.163005Z"
}
}Create a quotation for cryptocurrency to fiat conversion
curl --request POST \
--url https://sandbox.dollarpe.xyz/pis/api/v1/payin/quotation \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>' \
--data '
{
"asset": "usdt",
"fiat": "inr",
"sending_amount": "51",
"customer_id": "def8b740-99f9-4cba-bc9e-99de57e927b4",
"bank_id": "4e6f1b20-a73c-11ec-b909-0242ac120002",
"payment_method": "IMPS",
"risk_parameters": {
"ip_address": "127.0.0.1",
"device_id": "<string>",
"suspicious_activity_report": false,
"law_enforcement_agency_report": false
}
}
'{
"status": true,
"message": "Success",
"data": {
"id": "2e104290-07c8-49f1-a5ca-0d27f0078f8a",
"customer_id": "def8b740-99f9-4cba-bc9e-99de57e927b4",
"bank_id": "4e6f1b20-a73c-11ec-b909-0242ac120002",
"asset": "USDT",
"fiat": "INR",
"payment_method": "IMPS",
"sending_amount": 1000,
"rate": 91.91,
"receiving_amount": 108.8,
"fees": {
"client_fee_fiat": 450,
"client_fee_crypto": 5,
"dollarpe_fee": 450,
"pg_fee": 18,
"client_gst_fiat": 81,
"client_gst_crypto": 0.9,
"dollarpe_gst": 81,
"pg_gst": 81,
"tds": 889.17,
"gross_effective_exchange_rate": 88.92
},
"deposit_instructions": {
"account_number": "1234567890",
"ifsc": "SBIN0000001",
"account_name": "Sandbox Technologies Pvt Ltd"
},
"created_at": "2025-03-08T07:31:11.163005Z",
"expiry_time": "2025-03-08T07:36:11.163005Z"
}
}bank_id type based on the payment method:
vpabank_accountdeep_link field for Android and web flows.ios_checkout_link field for iOS devices.| API Status Code | Response | Reason |
|---|---|---|
| 400 | Customer is unverified | Customer is added but KYC is unverified |
| 400 | Customer is unverified | Customer does not belong to Organization |
| 400 | Bank account is unverified | Bank account is not added |
| 400 | Bank account is unverified | Bank account is added but under processing |
| 400 | Bank account is unverified | Name mismatch between PAN and Bank account |
| 400 | Bank account is unverified | Bank account is linked to some other customer |
| 400 | Onramp is disabled | Customer is KYC verified using Passport / Driver’s License / Voter ID, but Aadhar is not verified |
| 400 | Entered amount is less than minimum transaction amount | Entered amount must be greater than INR 2500 |
| 400 | Entered amount exceeds maximum transaction amount | Entered amount must be less than: • INR 500,000# for IMPS • INR 100,000# for UPI |
| 400 | AML SCREENING FAILED | Customer appears in sanction lists and the Politically Exposed Persons (PEP) database and/or has material adverse media |
| 400 | EDD required | Suspicious activity or Red Flag Indicator is triggered |
| 400 | EDD required | Transaction milestone since last EDD is reached^ |
| 400 | EDD required | Annual EDD is due or overdue |
| 400 | Daily onramp limit exhausted | Daily onramp limit exhausted |
| 500 | Internal Server Error | Internal Server Error |
| 503 | Service unavailable | Unexpected Error Occurred |
API Key for authentication
Current timestamp in seconds since epoch
HMAC SHA256 signature of the request encoded in Base64
The cryptocurrency asset code
"usdt"
The fiat currency code
"inr"
The amount to be sent
"51"
Customer's unique identifier
"def8b740-99f9-4cba-bc9e-99de57e927b4"
Customer's Bank's unique identifier from which the payin will be made
"4e6f1b20-a73c-11ec-b909-0242ac120002"
"IMPS"
Show child attributes