Create h2h invoice
POST/merchant-api/v1/invoices/create-h2h
This method is creating h2h invoice
Request
- application/json
Body
required
The description for the Post Body.
Amount of money for invoice
Id of the gate used for transaction
Comment for invoice
Possible values: [USD, EGP, RUB, KZT, EUR, UAH, MXN, INR, TRY, UZS, AZN, MDL, VND, KRW, AED, IDR, PKR, PEN, CLP, MAD, BYN, COP, NGN, ZAR, SAR, XOF, CAD, AUD, GBP, PLN, NZD, NOK, DKK, SEK, HUF, PHP, TJS, RSD]
Currency of the invoice
Client information must be unique
The URL to which the payer will be redirected after successful payment of the invoice
The URL to which the payer will be redirected after an unsuccessful invoice payment
URL address to which the transaction status notification will be sent
Cvv of the credit card
Expiration month of the credit card
Expiration year of the credit card
Card number of the credit card
Cardholder of the credit card
Ip address of the buyer
Additional params needed for some gates
Possible values: [ru, en, ua, es, it, de, pt, bg, pl, fr]
Language of the form
Url of your project needed for some gates
Payers's email, needed for some gates
Possibility to create a payment token
Your customer’s date of birth (must be 18+ y.o.).In ISO 8601 format
Responses
- 201
The h2h invoice has been successfully created.
- application/json
- Schema
- Example (from schema)
Schema
Unique id of the invoice
Amount of money to pay for the invoice
Possible values: [Created, Pending, Failed, Succeed, Refund]
Current status of the invoice
Currency of the invoice
3ds url for invoice payment
the information about the client
the description of the invoice
Time stamp of the invoice creation
{
"transaction_uid": "6f15174c-241a-41d9-91be-001454f9c13b",
"amount": "2500",
"status": "Created",
"currency_id": "RUB",
"invoice_3ds_url": "http://3ds.com/123232112321",
"external_id": "code123",
"comment": "My first invoice",
"created_at": "2022-09-15T07:26:13.893Z"
}