Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Query Parameters

accountId
string
required

The ID of the account to work with.

Example:

"F50091"

Body

application/json

Body

The token of the transaction to work with.

Example:

"9d3dee7c-19df-4b71-bbb9-521bb04307bf"

amount
number
required

The amount.

Required range: x >= 0
Example:

10

cardId
string<uuid>

Optional. When supplied, em-cards-api routes the simulation to the Marqeta tenant matching the card's product market (UK or US). Omit to keep the legacy UK routing.

Maximum string length: 36

Response

201 - application/json

Created

transaction
object

Details about the transaction.