Add funds to a specific card by its unique identifier.

Parameters

NameInTypeRequiredDescription
id path string yes

Unique identifier of the card.

Request body

application/json · CardTopUpRequest · required

FieldTypeRequiredDescription
accountID string yes

Unique identifier of the account that will be debited.

amount string (decimal) yes

Amount to add to the card balance.

idempotencyKey string no

Idempotency key, must be unique for each request.

Responses

StatusBodyDescription
200 CardTxResponse

Successfully topped up the card.

400 Error

Invalid request.

409 Error

The top-up was accepted and is still in progress. It is not a failure: the top-up goes on, and once it has taken the amount from the account that amount stays held until it completes. Send the same request again with the same idempotencyKey (the response carries Retry-After: 60; once a minute is enough) until it answers with the transaction. A new key would top the card up a second time. Only a request that carries an idempotencyKey gets this answer.

Specification

This page is generated from the OpenAPI specification, which remains the authoritative machine-readable source.