Simulate Card Authorization

Use the /simulateCardAuth endpoint to simulate a card authorization in non-production environments. This endpoint creates but does not settle a card authorization for the account.


šŸ“˜ Note: This endpoint is only available in non-production environments (local, development, sandbox, cv). Calls to this endpoint in production will return an error.


Requirements:

  • The account must be active
  • For debit accounts, sufficient balance is required
  • Card blocks must be set to 'none' on the account

Result:

When successfully called, this endpoint returns an authId that can be used with Simulate Card Settle to complete the transaction.

Body Params

POST /v1/transaction/simulateCardAuth Request body

string
required

Pass in the Spidr account ID

double
required
≤ 10000000

The amount of the simulated authorization

string

The description of the simulated transaction

string

The MCC code of the merchant for the simulated transaction

string
length between 1 and 100

The name of the merchant for the simulated transaction

string

The type of simulated card transaction metadata to use

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json