Payment Simulator

Get transaction

get/admin/payment-simulator/transaction.json

Request

Query parameters

x_account_idstring required

Login id of merchant in payment settings

x_referencestring required

Unique token for current checkout

x_signaturestring required

Signed signature

x_testboolean required

Indicates whether or not this request should be processed in test mode (if supported).

x_transaction_typestring required

The valid values are capture, refund, void, get. <ul><li>capture: Capture the payment.</li><li>refund: Refund the payment.</li><li>void: Cancel the payment.</li><li>get: Get the payment.</li></ul>

x_gateway_referencestring required

This will only be present in order management

Response

OK

x_account_idstring

Login id of merchant in payment settings

x_amountnumber

Order's amount

x_currencystring

Order's currency

x_error_codestring

An error code to be log on Shopbase

x_gateway_referencestring

Unique reference for payment issued by the payment processor.

x_intentstring
x_messagestring

A custom error message displayed to the customer.

x_referencestring

Unique token for current checkout

x_resultstring

Valid values are completed or failed

x_signaturestring

Signed signature

x_testboolean

Indicates whether or not this request should be processed in test mode (if supported).

x_timestampstring

Time of transaction completion. UTC Time: YYYY-MM-DDTHH:MM:SSZ

x_transaction_typeunknown

Changes

No recorded changes to this operation across all 1 revision of this API.