Skip to main content
POST
/
payments
/
v1
/
payments
/
statuses
Get statuses in batch for payments by their intent ids.
curl --request POST \
  --url https://sandbox-api.sandbox.lemmax.com/payments/v1/payments/statuses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "payment_intent_ids": [
    "79381939-1D94-4F34-A8AA-C6D4DF435964",
    "5B5119E4-320B-4D2C-BF59-7B2BB326D06C",
    "C08ECA11-1FBD-4E0E-BBD0-E865500A9051"
  ]
}
'
{
  "data": [
    {
      "payment_intent_id": "88831e0e-370c-4a03-b904-9b375c453ac6",
      "status": "Approved"
    }
  ]
}

Authorizations

Authorization
string
header
required

access_token returned by the /auth/v1/oauth2/tokens API call.

Body

application/json

List of payment intent ids.

Get statuses request schema

payment_intent_ids
string<uuid>[]
required
Required array length: 1 - 100 elements

ID of the payment intent.

Required string length: 36
Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Response

List of statuses for requested intent ids.

Get statuses response schema

data
object[]
Maximum array length: 1000