One-time payment

POST
api/v3/initials/one-time/url
lts

Intended for generating a checkout URL for a one-time payment (one-time payment) without linking it to products.

Purpose

  1. Creates a one-time payment for any merchant.
  2. Allows the merchant to provide any price and currency.
  3. Creates an order and an order-product with autocharge disabled.

Merchant requirements

  1. Must have at least one product with an English translation.
Header parameters
Attribute
Requirement
Description
x-public-key
mandatory
a public key that identifies the merchant account (there can be several for one merchant)
x-buyer-ip
mandatory
is responsible for information about the buyer's IP address
x-date
mandatory
is responsible for the date and time of sending the request
x-token
mandatory
generated on the merchant side
x-source
mandatory
identifier of the type of service that is the initiator of the request
x-id
mandatory
service identifier from which the current request is made
x-google-analytics-client-id
optional
client identifier for Google Analytics
Request parameters
Attribute
Type
Requirement
Description
Standard
price
object
mandatory
Product information for purchase
-
buyer
object
optional
Information about the buyer trying to make the payment.
When generating orders from the Shop, the transfer of this key is MANDATORY
-
metaData
object
optional
Object of type “key-value”, to transmit the internal meta-information of the merchant
(this data is not used by the backend and is transmitted when sending various events on the order)
-
Response parameters
Attribute
Type
Description
data
object
Contains information related to the created order
meta
array
Provides metadata about the response
{
  "data": {
    "url": "https://some.url/AHL4y8iW",
    "params": {
      "metaData": {
        "foo": "bar"
      },
      "sequence": "null",
      "discount": "null",
      "coupon": "null",
      "googleAnalyticsClientId": "null"
    }
  },
  "meta": []
}
Errors and interpretation

The list of possible errors for this endpoint, along with their types and interpretation, is provided in the general reference: Endpoint response errors.