/v1/payments/h2h

Create a payment and return information about it. Idempotent on external_id: repeating a create with the same external_id, amount and currency returns the payment created first instead of a second one.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
number
required
≤ 1000000

The amount of the payment

string
required
length ≥ 1

The currency code of the payment

string
required
length between 1 and 255

The id of the payment in your system

string
enum

The payer of the fee. If payer is payer, the fee will added to the amount.

Allowed:
metadata
object
uri

The url to call when the payment is completed

boolean
Defaults to false

Create a sandbox payment: the payer is only offered testnet currencies, and the payment is excluded from stats and fees. Cannot be changed after creation.

string
required
length ≥ 1

The currency code of the payment

boolean
Defaults to false

If true, small trace amount will be added to the payment.

string

The ip address of the client

browser
object

The client`s browser information

Responses

400

Invalid request

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json