Create payment (host to host)
Creation of an order where you yourself transfer to us the data related to the card (PSI DSS certification is required)
POST <API_URL>/api/payment/create
Headers
Content-Type
application/json
credentials*
<API_KEY>:<API_SECRET>
Body
amount*
string
Operation amount
currency*
string
Currency of operation
order_id*
string
ID of transactions in your system
payment_method
string
Default value: card. Possible values: card, upi, cardp2p, openbanking, sbp, sberpay, blik_code, one_click_pay, iban, skrill, neteller, applepay, googlepay
customer_first_name
string
Customer's first name. Required for "card", "upi", "openbanking", "blik_code", "skrill", "neteller", "applepay", "googlepay", payment_method
customer_last_name
string
Customer's last name. Required for "card", "upi", "openbanking", "blik_code", "skrill", "neteller", "applepay", "googlepay", payment_method
customer_phone
string
Customer's phone. Required for "card", "upi", "openbanking", "blik_code", "skrill", "neteller", "applepay", "googlepay", payment_method
customer_country
string
Customer's country code in ISO 3166-1 alpha-2 format. Required for "card", "openbanking", "skrill", "neteller" payment_method
customer_city
string
Customer's city. Required for "card", "openbanking", "blik_code" payment_method
customer_state
string
Customer's state. Required for "card", "openbanking", "blik_code" payment_method
customewr_address
string
Customer's address. Required for "card", "openbanking", "blik_code" payment_method
customer_zip_code
string
Customer's zip. Required for "card", "openbanking", "blik_code" payment_method
redirect_success_url*
string
Link where the user will be redirected after success
redirect_fail_url*
string
Link where our API requests will come from
upi_account
string
Required for "upi" payment_method
blik_code
string
Required for "blik" payment_method
pending_url*
string
Link where the user will be redirected if the order is pending
webhook_url
string
Link where our API requests will come from
card_number
string
Required for "card" payment_method
card_exp_month
string
Required for "card" payment_method
card_exp_year
string
Required for "card" payment_method
card_holder
string
Required for "card" payment_method
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 aurrency
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