JUMP TOCTRL-/Spice APIStatusPinggetGet terminalsgetPurchaseGet purchasegetMake purchasepostCashoutGet cashoutgetMake cashoutpostMOTOGet MOTOgetMake MOTOpostRefundGet refundgetMake refundpostSettlementMake settlementpostMake settlement enquirypostPre-authorisationGet pre-authgetOpen pre-authpostTop up pre-authpostExtend pre-authpostPartially cancel pre-authpostCancel pre-authpostComplete pre-authpostVerify accountpostTable API for SpiceStatusPinggetTablesGet tablesgetGet a tablegetBillsGet billgetUpdate billpostOperatorsGet operatorsgetPowered by Get refundget http://localhost:8282/v1/refundGet a refund transaction.Query ParamsposRefIdstringrequiredA unique string that identifies the transaction.posIdstringOnly required when using Pay at table; a unique string that identifies the paired EFTPOS terminal.HeadersPOS-NamestringrequiredYour business name.POS-VersionstringrequiredThe current version of your POS.Response 200OKResponse bodyobjectResponseobjectpos_ref_idstringrequiredA unique string that identifies the transaction.successbooleanIf the transaction was successfulstanstringterminal_idstringbank_datestringbank_timestringmasked_panstringmerchant_acquirerstringmerchant_citystringmerchant_countrystringmerchant_idstringmerchant_namestringmerchant_postcodestringmerchant_receiptstringMerchant receiptaccount_typestringauth_codestringbank_noncash_amountnumberTotal amount of the transaction that was performed to the bank in centsbank_settlement_datestringcard_entrystringcurrencystringcustomer_receiptstringReceipt returned to the customercustomer_receipt_printedstringIf a customer receipt has been printedemv_actioncodestringemv_actioncode_valuesstringemv_pixstringemv_ridstringemv_tsistringemv_tvrstringexpiry_datestringhost_response_codestringResponse code returned by the hosthost_response_textstringResponse text returned by the hostinformative_textstringmerchant_addrstringmerchant_receipt_printedbooleanIf a merchant receipt has been printedonline_indicatorstringpurchase_amountnumberPurchase amount corresponding to the requestrrnstringscheme_app_namestringscheme_namestringScheme of the cardsurcharge_amountnumberterminal_ref_idstringtip_amountnumberTip amount corresponding to the requesttransaction_typestringThe requested transaction typerefund_amountnumberrequiredThe amount of the refund, in cents.Updated over 1 year ago Make MOTOMake refund