Process a payment request using a specific payment method
X-API-Key
with your API key obtained from the dashboardapplication/json
Parameter | Description | Type | Required |
---|---|---|---|
id | Payment request identifier | integer (int64) | YES |
paymentMethod | Payment method to use for processing | PaymentMethod enum | YES |
Method | Description | Use Case |
---|---|---|
CREDIT_CARD | Credit/debit card payments | Standard card processing |
APPLE_PAY | Apple Pay digital wallet | iOS/Safari payments |
GOOGLE_PAY | Google Pay digital wallet | Android/Chrome payments |
UPI | Unified Payments Interface | Indian market payments |
BANK_TRANSFER | Direct bank transfers | ACH/wire transfers |
CRYPTOCURRENCY | Digital currency payments | Bitcoin, Ethereum, etc. |
PAYPAL | PayPal wallet payments | PayPal account holders |
Code | Description |
---|---|
200 | OK - Payment handling initiated successfully |
400 | Bad Request - Invalid payment method or request |
404 | Not Found - Payment request not found |
422 | Unprocessable Content - Payment method not supported for this request |
500 | Internal Server Error - Processing error occurred |
0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
, 13
, 14
, 15
, 16
, 17
, 18
, 19
, 20
OK