Base URL
Authentication
Send a secret API key as a bearer token:Create a Payment Intent
POST /payment-intents
Creates a Payment Intent in the environment selected by the secret key.
Headers
string
required
Bearer followed by your secret API key.string
required
Use
application/json.string
Stable unique key for safely retrying the same create request. Recommended for every request.
Request body
number
required
Positive integer in minor currency units. For AMD 27,150.00, send
2715000.string
required
Supported ISO 4217 code:
AMD, USD, EUR, or RUB. Input is normalized to uppercase.string
required
Merchant order identifier. Maximum 32 characters.
object
Optional customer details.
id is required when the object is present; email and name are optional.object
Optional string-to-string values for merchant reconciliation.
Example request
Response fields
string
required
Lynq Payment Intent identifier.
number
required
Amount in minor currency units.
string
required
Normalized supported currency code.
string
required
Current Payment Intent status.
string
required
Merchant order identifier from the request.
string
Raw checkout credential. It is returned when the Payment Intent is created and should be passed only to the paying browser session.
object
Customer data supplied at creation, or
null.object
Non-sensitive summary of the selected payment method, or
null before selection.object
Latest display-safe payment failure, or
null.object
Authentication or redirect state used by hosted Checkout, or
null. Do not drive this flow from merchant code.string
Provider payment identifier when available, or
null.object
Merchant metadata, or
null.string
required
Creation timestamp.
string
required
Latest update timestamp.
Retrieve a Payment Intent
GET /payment-intents/:id
Retrieves a Payment Intent owned by the authenticated merchant in the secret key’s environment.
string
required
Payment Intent identifier returned at creation.
Payment Intent statuses
See Payment Intents for request fields and idempotency.