Create payment (payment page)
Create a payment page where you direct the user to pay
POST <API_URL>/api/payment/createForm
Headers
Content-Type
application/json
credentials*
<API_KEY>:<API_SECRET>
Body
amount*
number
Operation amount
currency*
string
Currency of operation
order_id*
string
Customer`s IP address
redirect_success_url*
string
Link where the user will be redirected after success
redirect_fail_url*
string
Link where the user will be redirected after failed
pending_url*
string
Link where the user will be redirected if the order is pending
payment_method
string
Default value: card. Possible values: card, qiwi, pix, applepay, upi, imps, airtel_money, amazon_pay, jio_money, mobikwik, ola_money, pay_zapp, paytm, phone_pe, net_banking, safety_pay, freecharge, cardp2p, openbanking, sbp, sberpay, blik_code
customer_ip
string
Customer's IP address
webhook_url
string
Link where our API requests will come from
Response (OK 200)
status*
number
Status Code
status_transaction*
string
Current payment status. Values: new, declined, processing, approved
order_id*
string
Merchant id of transaction
amount*
number
Transaction Amount
currency*
string
Transaction Currency
description*
string
Transaction status description
redirect_url
string
Will shown only in /api/payment/create and /api/payment/createForm routes if transaction in status "processing"
payment_id
number
Our internal transaction id
Last updated