QRate Send API — Partner Integration Guide
1. Overview
This guide and the accompanying OpenAPI 3.0.3 specification are derived from the supplied QRate Send API Postman collection and environment. QRate supplies the actual host for each environment. The environment file contains a placeholder base URL:
https://qqpay.io/api/v1
Configure base_url, partner_code, access_code, and signing_secret before making signed requests.
2. Authentication and request signing
Every request need to be signed, except:
GET /integrate/all-statesGET /integrate/all-cities
The Authorization header format is:
QRSIGN2 {partner_code}:{access_code}:{timestamp}:{nonce}:{signature}Where:
timestampis Unix time in seconds.nonceis a GUID with hyphens removed.signatureis lowercase hexadecimal HMAC-SHA256.- HMAC input is
timestamp + nonce + signing_messagewith no separators. - HMAC key is
signing_secret. Never send the secret in the request.
The signing message is endpoint-specific. The Postman pre-request script defines exact field order and normalization. Query values and body values must not be concatenated in arbitrary JSON order. The script normalizes dates (YYYY-MM-DD to YYYYMMDD; date-time values to YYYYMMDDHHMMSS) and title-cases/trims applicant full_name.
Implementation note: The OpenAPI security scheme describes the header shape. Because the signature is dynamic and depends on a canonical message, implement QRSIGN2 signing in client middleware rather than treating it as a static API key.
3. Recommended integration sequence
Step 1 — Connectivity and reference data
- Call
GET /integrate/get-echofirst to validate credentials and signing. - Retrieve payout countries with
GET /integrate/all-payout-countries. - Retrieve available payout methods with
GET /integrate/payment-mode. - Retrieve banks or payout locations with
GET /integrate/get-bank-list. - Retrieve code lists with
GET /integrate/get-parameter-data. - Where needed, retrieve states and cities with the public reference endpoints.
The value_code returned by Payment modes by country is used as payment_mode / payment_code. location_id returned by Banks / payout locations is used in beneficiary and transfer requests.
Step 2 — Check rates and balances
GET /integrate/get-fx-ratesreturns all available customer corridors.GET /integrate/get-fx-rates-partnerfilters by transaction type, payout mode and optionally payout country. Transaction type isINDorBUS.GET /integrate/partner-balancereturns the partner's prefunded balance.GET /integrate/wallet-balancereturns a sender's wallet balance.GET /integrate/get-txn-summaryretrieves a sender's transactions for a date range.
Step 3 — Onboard the sender
Individual sender
POST /integrate/individual/add- Upload identity documents using
POST /integrate/individual/upload-document. The documented document types areFRONT_PAGE,BACK_PAGE, andFACE_IMAGE. - Poll
GET /integrate/get-kyc-statusuntil the sender isApproved. - Only
Approvedsenders can transfer. - Use the profile and update endpoints as required.
Business sender
- Register the business using
POST /integrate/business/entity-information. - Upload company documents using
POST /integrate/business/upload-documents. - Add authorized applicants using
POST /integrate/business/add-applicant-information. The collection describes maker (M) and checker (C) roles. - Upload each applicant's ID documents using
POST /integrate/business/applicant-information/upload-docs. - Add business bank details using
POST /integrate/business/add-bank-data. - Use the get/update endpoints as required.
The supplied collection does not show a business KYC-status endpoint or complete response examples for every business onboarding operation.
Step 4 — Register the beneficiary
Choose the individual or business beneficiary endpoint:
- Individual:
POST /integrate/beneficiary/add - Business:
POST /integrate/beneficiary/add-business
The returned receiver_id is used when creating a transfer. Beneficiaries can be listed for a sender or filtered by payout country and payment mode, and updated through the corresponding endpoints.
Step 5 — Quote and create the transfer
- Request a quote using
POST /integrate/payment/get-quotation. - The collection states that the quote locks the rate and fee for 30 minutes.
- Create the transfer using
POST /integrate/payment/do-transfer. The quote-based request referencesquote_id; the collection notes that without a quote,transfer_amount,calc_by,collection_currency, andpayout_currencyare required. - The transfer is created on hold. The collection says it must be confirmed within 30 minutes.
- For business senders, upload the supporting payment document before confirmation using
POST /integrate/payment/upload-document(the sample usesdoc_type=INVOICE). - Confirm using
POST /integrate/payment/confirm-transfer. - Check status using
POST /integrate/payment/get-txn-status.
For business senders, the collection states that a maker's transfer must be confirmed with a checker's biz_user_id.
4. Transfer status values
The collection documents these values for transaction_status:
ProcessingCompliance HoldPostPaidRejected
Use the status endpoint with agent_txn_id or partner_txn_pin.
5. Standard response envelope
The successful examples use this response structure:
{
"status_code": 0,
"message": "SUCCESS",
"success": true,
"data": []
}Check both the HTTP status and the application-level success field. A 200 response alone should not be treated as proof that the business operation succeeded.
6. Important implementation considerations
- Store
customer_id,receiver_id,quote_id,confirmation_id, and the returned transaction PIN/reference against your own records. - Generate a unique
agent_txn_idfor each transfer. The Postman environment'sPTXN0001is an example only. - Do not reuse an expired quote; obtain a new quote.
- Treat sender and beneficiary identity data, identity documents, and bank account details as sensitive information.
- Use the code-list/reference endpoints rather than hardcoding country-specific values.
- The Postman collection contains sample success responses for selected endpoints only. Several operations have no saved response example. Error codes, retry rules, idempotency guarantees, rate limits, pagination, field-level validation, and production SLAs are not specified in the supplied files and should be confirmed with QRate.
- The OpenAPI request schemas are based on fields demonstrated in Postman example bodies. They are not a substitute for a complete server-side validation schema.
7. Endpoint inventory
The accompanying OpenAPI file contains the paths, methods, demonstrated query parameters, sample request bodies, multipart document uploads, and available sample responses for the collection's endpoints.
Updated 11 minutes ago
