Endpoint
Example: Axios POST Request
Key Parameters
pid: Your partner identifier.mid: Your merchant identifier.amount: Must be a numeric value between 1 and 100000.merchantReferenceId: A unique string for transaction tracking (optional).vpa: UPI ID of the customer.customer_name: Full name of the customer.customer_email: A valid email address.customer_mobile: A valid mobile number.Authorization: Must be in the formatBasic base64(public_key:secret_key).
Make sure to replace placeholder values with actual data before executing.
Headers
| Name | Value |
|---|---|
| Content-Type | application/x-www-form-urlencoded |
| Authorization | Basic base64(public_key:secret_key) |
Request Body Parameters
| Name | Type | Description | Example | Required |
|---|---|---|---|---|
| pid | string | Your Partner ID | PABC | Yes |
| mid | string | Merchant ID | ABC | Yes |
| amount | integer | The total amount | 100 | Yes |
| merchantReferenceId | string | Unique identifier for the order | ORD12345 | Yes |
| vpa | string | Customer UPI ID | upiId@oksbi | Yes |
| customer_name | string | Customer’s full name | John | Yes |
| customer_email | string | Customer’s email address | [email protected] | Yes |
| customer_mobile | string | Customer’s mobile number | 0123456789 | Yes |
Authorization
Requests must include theAuthorization header with a Base64-encoded string of public_key:secret_key.
Example Format: