Skip to main content

OpenTransactionPresenter

typeTransaction Type (string)required

Possible values: [Sales, Authorization, Refund, Capture]

Example: Sales
uuidWonder transaction uuid (string)required

Wonder transaction uuid

currencytransaction currency (string)required

transaction currency

amounttransaction amount (number)required

transaction amount

successsuccess (boolean)required

if transaction successful

is_pendingbooleanrequired

for async payment,if transaction still pending

capturedbooleanrequired

for card pure-auth,if transaction captured

allow_voidbooleanrequired

if transaction allowed to void

allow_refundbooleanrequired

if transaction allowed to refund

void_is_pendingbooleanrequired

if void still pending

payment_methodstringrequired

which payment method

notestringnullable

transaction remark

payment_data objectrequired

related to payment method

acquirer_namestringrequired
acquirer_typestringrequired
auth_codestringrequired
brnstringrequired
card_idstringrequired
card_number_lenintegerrequired
card_read_modestringrequired
credit_card_typestringrequired
first_6_digitsstringrequired
last_4_digitsstringrequired
merchant_idstringrequired
new_gateway_txn_idstringrequired
payment_methodstringrequired
receipt_idstringrequired
rrnstringrequired
transaction_statestringrequired
tokenstringrequired

When payment_method equals payment_token, the token returns data

original_transaction_uuidoriginal transacation uuid (string)nullable

original transacation uuid

OpenTransactionPresenter
{
"type": "Sales",
"uuid": "string",
"currency": "string",
"amount": 0,
"success": true,
"is_pending": true,
"captured": true,
"allow_void": true,
"allow_refund": true,
"void_is_pending": true,
"payment_method": "string",
"note": "string",
"payment_data": {
"acquirer_name": "string",
"acquirer_type": "string",
"auth_code": "string",
"brn": "string",
"card_id": "string",
"card_number_len": 0,
"card_read_mode": "string",
"credit_card_type": "string",
"first_6_digits": "string",
"last_4_digits": "string",
"merchant_id": "string",
"new_gateway_txn_id": "string",
"payment_method": "string",
"receipt_id": "string",
"rrn": "string",
"transaction_state": "string",
"token": "string"
},
"original_transaction_uuid": "string"
}