Skip to main content

Toggle Test Mode

Switches test mode on or off for the user associated with the API key. Pass 1 to enable test mode or 0 to return to live mode.

In test mode, orders are accepted and processed normally but are not fulfilled. Credit balances are checked but not deducted, and payments are authorized but not captured — any pending charge will drop off without posting.

Request Body REQUIRED
test_mode integer

Possible values: [0, 1]

Responses
200

OK

Schema OPTIONAL
httpCode integer OPTIONAL

Possible values: [200]

status string OPTIONAL

Possible values: [ok]

test_mode integer OPTIONAL

Possible values: [0, 1]

401

UNAUTHORIZED

Schema OPTIONAL
httpCode integer OPTIONAL

Possible values: [401]

Http status code

status string OPTIONAL

Possible values: [error]

message string OPTIONAL