Overview
The Payment Request API allows you to create payment requests that customers can complete using various payment methods. This is the standard integration method for most merchants.Create Payment Request
Use this endpoint to create a new payment request with specified amount, currency, and callback URLs.Key Features
- Multiple Payment Methods: Support for credit cards, digital wallets, and alternative payment methods
- Flexible Callbacks: Configure success, failure, and notification URLs
- Reference Tracking: Include your own reference ID for order tracking
- Multi-Currency: Support for various currencies with automatic conversion
Request Parameters
The payment request requires:- amount: Payment amount (required)
- unit: Currency code (required)
- referenceId: Your internal order/transaction ID (optional)
- notifyUrl: Webhook URL for payment notifications (optional)
- successUrl: Redirect URL for successful payments (optional)
- failureUrl: Redirect URL for failed payments (optional)
Response
Upon successful creation, you’ll receive:- Payment request ID
- Payment link for customer redirect
- Status and tracking information
Next Steps
After creating a payment request:- Redirect customer to the payment link
- Handle webhook notifications for status updates
- Process success/failure redirects
- Query payment status as needed
Query Parameters
Available options:
0
, 1
, 2
, 3
Body
Required range:
x >= 0
Maximum length:
20
Available options:
0
, 1
, 2
, 3
, 4
, 5
Maximum length:
100
Maximum length:
100
Maximum length:
512
Maximum length:
2048
Maximum length:
2048
Maximum length:
2048
Available options:
0
, 1
, 2
, 3
Available options:
0
, 1
, 2
, 3
Available options:
0
, 1
, 2
, 3
Available options:
0
, 11
, 12
, 13
, 14
, 15
, 16
, 17
, 18
, 21
, 22
, 23
, 24
, 25
, 26
, 27
, 28
, 29
, 30
, 31
, 32
, 33
, 34
, 35
, 36
, 37
, 38
, 39
, 40
, 41
, 42
, 43
, 44
, 45
, 46
, 47
, 48
, 49
, 50
, 51
, 52
, 53
, 54
, 55
, 56
, 57
, 58
, 59
Available options:
0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
, 13
, 14
, 15
, 16
, 17
, 18
, 19
, 20
Available options:
0
, 11
, 12
, 13
, 14
, 15
, 16
, 17
, 18
, 21
, 22
, 23
, 24
, 25
, 26
, 27
, 28
, 29
, 30
, 31
, 32
, 33
, 34
, 35
, 36
, 37
, 38
, 39
, 40
, 41
, 42
, 43
, 44
, 45
, 46
, 47
, 48
, 49
, 50
, 51
, 52
, 53
, 54
, 55
, 56
, 57
, 58
, 59
Available options:
0
, 1
, 2
Response
OK