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-states
  • GET /integrate/all-cities

The Authorization header format is:

QRSIGN2 {partner_code}:{access_code}:{timestamp}:{nonce}:{signature}

Where:

  • timestamp is Unix time in seconds.
  • nonce is a GUID with hyphens removed.
  • signature is lowercase hexadecimal HMAC-SHA256.
  • HMAC input is timestamp + nonce + signing_message with 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

  1. Call GET /integrate/get-echo first to validate credentials and signing.
  2. Retrieve payout countries with GET /integrate/all-payout-countries.
  3. Retrieve available payout methods with GET /integrate/payment-mode.
  4. Retrieve banks or payout locations with GET /integrate/get-bank-list.
  5. Retrieve code lists with GET /integrate/get-parameter-data.
  6. 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-rates returns all available customer corridors.
  • GET /integrate/get-fx-rates-partner filters by transaction type, payout mode and optionally payout country. Transaction type is IND or BUS.
  • GET /integrate/partner-balance returns the partner's prefunded balance.
  • GET /integrate/wallet-balance returns a sender's wallet balance.
  • GET /integrate/get-txn-summary retrieves a sender's transactions for a date range.

Step 3 — Onboard the sender

Individual sender

  1. POST /integrate/individual/add
  2. Upload identity documents using POST /integrate/individual/upload-document. The documented document types are FRONT_PAGE, BACK_PAGE, and FACE_IMAGE.
  3. Poll GET /integrate/get-kyc-status until the sender is Approved.
  4. Only Approved senders can transfer.
  5. Use the profile and update endpoints as required.

Business sender

  1. Register the business using POST /integrate/business/entity-information.
  2. Upload company documents using POST /integrate/business/upload-documents.
  3. Add authorized applicants using POST /integrate/business/add-applicant-information. The collection describes maker (M) and checker (C) roles.
  4. Upload each applicant's ID documents using POST /integrate/business/applicant-information/upload-docs.
  5. Add business bank details using POST /integrate/business/add-bank-data.
  6. 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

  1. Request a quote using POST /integrate/payment/get-quotation.
  2. The collection states that the quote locks the rate and fee for 30 minutes.
  3. Create the transfer using POST /integrate/payment/do-transfer. The quote-based request references quote_id; the collection notes that without a quote, transfer_amount, calc_by, collection_currency, and payout_currency are required.
  4. The transfer is created on hold. The collection says it must be confirmed within 30 minutes.
  5. For business senders, upload the supporting payment document before confirmation using POST /integrate/payment/upload-document (the sample uses doc_type=INVOICE).
  6. Confirm using POST /integrate/payment/confirm-transfer.
  7. 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:

  • Processing
  • Compliance Hold
  • Post
  • Paid
  • Rejected

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_id for each transfer. The Postman environment's PTXN0001 is 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.


Did this page help you?