Payment Request

Create payment

post

Creates a payment link. You need to provide the amount and the currency of the payment in the request.

Authorizations
x-api-keystringRequired
Body

Payment creation request body

methodstring ยท enumOptional

A method to receive a payment.

Default: cryptoPossible values:
amountnumberRequired

The amount you want to receive from your customer.

processingFeeByUserbooleanOptional

If true, the initial amount will be increased to cover the platform fee.

platformFeeByUserbooleanOptional

Deprecated!, use processingFeeByUser

currencystring ยท min: 1Required

Specifies the cryptocurrency for the payment via tickers (refer to API glossary).

networkstring ยท enumRequired

Specifies the blockchain network for the payment via tickers (refer to API glossary).

Possible values:
customerIdstringOptional

Customer's ID for security purposes.

customerIpstring ยท min: 1Required

The customer's IP address, recorded for compliance purposes.

orderIdstring ยท min: 1Required
orderDescriptionstringOptional

Order description

additionalDatastringOptional

Additional information related to the payment, if needed.

webhookUrlone ofOptional

An optional URL where transaction status updates and payment notifications will be sent.

string ยท uriOptional
or
string ยท enumOptionalPossible values:
successUrlstring ยท uri ยท max: 256Optional

The URL to redirect to when the payment is successful.

Pattern: ^https?:\/\/
cancelUrlstring ยท uri ยท max: 256Optional

The URL to redirect to when the payment is failed.

Pattern: ^https?:\/\/
Responses
post
/v1/payment

Get payment status by id

get

Get the actual information about the payment. You need to provide the ID of the payment in the request.

Authorizations
x-api-keystringRequired
Path parameters
idstringRequired

Unique identifier of the payment

Responses
200

200

application/json
get
/v1/payment/{id}/status
200

200

Last updated

Was this helpful?