Token Charging

Merchant-initiated token charging for saved payment methods

List Shop Tokens

get

Returns a list of saved payment tokens for the authenticated shop. Requires tokenCharging to be enabled for the shop.

Authorizations
Api-KeystringRequired

API key for authentication.

Query parameters
customerIdstringOptional

Filter tokens by customer ID

Example: user_12345
orderUuidstring · uuidOptional

Filter tokens by the original order UUID

Example: 550e8400-e29b-41d4-a716-446655440000
activestring · enumOptional

Filter by active status (true to return only active tokens)

Example: truePossible values:
limitinteger · min: 1 · max: 100Optional

Maximum number of tokens to return (default 50, max 100)

Default: 50Example: 50
offsetintegerOptional

Number of tokens to skip for pagination

Default: 0Example: 0
Responses
chevron-right
200

Successful response

application/json
get
/shop/tokens

Get Shop Token

get

Returns details of a specific saved payment token. Requires tokenCharging to be enabled for the shop.

Authorizations
Api-KeystringRequired

API key for authentication.

Path parameters
tokenstring · uuidRequired

Token UUID

Example: 550e8400-e29b-41d4-a716-446655440000
Responses
chevron-right
200

Successful response

application/json
get
/shop/tokens/{token}

Deactivate Shop Token

delete

Deactivates a saved payment token, preventing it from being used for future charges. Requires tokenCharging to be enabled for the shop.

Authorizations
Api-KeystringRequired

API key for authentication.

Path parameters
tokenstring · uuidRequired

Token UUID

Example: 550e8400-e29b-41d4-a716-446655440000
Responses
chevron-right
200

Token deactivated successfully

application/json
delete
/shop/tokens/{token}

Create Shop Charge

post

Creates a new merchant-initiated charge against a saved payment token. The merchant specifies the charge amount in smallest currency units (cents/kopecks). Requires tokenCharging to be enabled for the shop.

Amount Limits (in smallest currency units):

  • EUR: 100 - 300,000 (€1 - €3,000)

  • RUB: 10,000 - 30,000,000 (₽100 - ₽300,000)

  • USD: 100 - 300,000 ($1 - $3,000)

Rate Limiting:

  • 1 minute cooldown between charges on the same token (returns 429 with remaining seconds)

  • Only one pending charge per token at a time (returns 409)

Idempotency: Use the idempotencyKey parameter to safely retry requests. If a charge with the same idempotency key already exists, the existing charge will be returned.

Authorizations
Api-KeystringRequired

API key for authentication.

Body
tokenstring · uuidRequired

The payment token UUID to charge

Example: 550e8400-e29b-41d4-a716-446655440000
amountinteger · int64Required

Charge amount in smallest currency units (cents/kopecks)

Example: 100000
referencestring · max: 256Optional

Merchant reference for this charge (optional, max 256 chars)

Example: order-123
idempotencyKeystring · max: 64Optional

Unique key to prevent duplicate charges (optional, max 64 chars)

Example: charge-req-abc123
Responses
chevron-right
200

Charge created successfully

application/json
post
/shop/charges

Get Shop Charge

get

Returns the status and details of a specific charge. Requires tokenCharging to be enabled for the shop.

Authorizations
Api-KeystringRequired

API key for authentication.

Path parameters
chargeUuidstring · uuidRequired

Charge UUID

Example: 550e8400-e29b-41d4-a716-446655440000
Responses
chevron-right
200

Successful response

application/json
get
/shop/charges/{chargeUuid}

Last updated