Skip to main content
POST
Simulate clearing or refund

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Transaction clearing or refund details

amount
integer
required

The amount of the transaction in the smallest whole denomination of the applicable currency (eg. For USD use cents)

original_transaction_id
string<uuid>
required

When you simulated a clearing the synchronous response would have included a transaction.token. That value should be used here.

card_acceptor
object
Example:
force_post
boolean
default:false
is_refund
boolean
default:false
mid
string
Required string length: 1 - 50
network_fees
object[]

Response

Success

The response is of type object.