Create invoice p2p direct
POST/merchant-api/v1/invoices/create-p2p-direct
This method is creating invoice p2p direct
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
Card issuer bank. Needed for some gates
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
Ip address of the buyer
Responses
- 201
The invoice p2p direct 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
Card data for money transfer
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",
"additional_data": "{\n \"iban\": \"TR1234567891234567\",\n }",
"external_id": "code123",
"comment": "My first invoice",
"created_at": "2022-09-15T07:26:13.893Z"
}