Simulate the network clearing an authorization
POST
/simulate/cards/clearingHeaders
Idempotency-KeystringOptionalSend on every write that creates or changes money or state; a replay with the same key returns the original result with 200.
Body parameters
amountintegerRequiredauthorization_idstringRequiredExample auth_2tVh8nqLxq4GbDe0K1F6S9zRcWm
Returns
200 OK
amountintegerRequiredauthorized_positivebooleanRequiredcard_idstringRequiredExample card_2tVh8nqLxq4GbDe0K1F6S9zRcWm
cleared_amountintegerRequireddraw_idstringOptionalexpires_atstringOptionalidstringRequiredExample auth_2tVh8nqLxq4GbDe0K1F6S9zRcWm
journal_idstringRequiredExample jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm
kindstringOptionalPurchase, refund, force_post
merchant_idstringOptionalnetworkstringOptionaloriginal_network_refstringOptionaloverdraft_decision_idstringOptionalreasonstringOptionalrequested_amountintegerOptionalA partial approval: what the merchant asked for
response_codestringOptionalstatusstringRequiredErrors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503