User Guide for Reference Payment ## Sections • [Introduction](https://developer.asiapay.com/reference-payment/introduction.md): Welcome to User Guide for Reference Payment API • [Process Transaction by Reference Number](https://developer.asiapay.com/reference-payment/process-transaction-by-reference-number.md): The aim of this function is to allow merchant to create new transaction by providing an existing merchant reference number. PayDollar will retrieve the credit card information from the previous transaction, so that no credit card information is required from the merchant. Definition of Parameters in the Integration Page Input /Return Parameters (Required Fields are in Bold typeface) *Case Sensitive Data Type Expected Value Descriptions Input merchantId Number The merchant ID we provide loginId Text (30) The loginId of merchant API password Text (15) The password of merchant API actionType “CreateTxn” The action type existingOrderRef Text (35 Existing Merchant Reference Number, for retrieving the credit card information. (Either existingOrderRef or existingPayRef shall exists for using this API) existingPayRef Number Existing Payment Reference Number, for retrieving the credit card information. (Either existingOrderRef or existingPayRef shall exists for using this API) orderRef Text (35) Merchant‘s Order Reference Number (new transaction) amount Number (12,2) The amount for the new transaction. currCode Number (“344”,”840”,”702 ”,”156”, “392”, “901”) The currency of the payment: “344” - HKD “840” – USD “702” – SGD “156” – CNY (RMB) “392” – JPY “901” – TWD “036” – AUD “978” – EUR “826” – GBP “124” – CAD payType Text (1) (“N”,”H”) The payment type: “N” – Normal Payment (Sales) “H” – Hold Payment (Authorize only) Return src Number Return bank host status code prc Number Return bank host status code Ord Number Bank Reference – Order id Holder Text The Holder Name of the Payment Account successcode Number Transaction Status: -1 - Error 0 - Transaction succeeded 1 - Transaction Failure Ref Text Merchant‘s Order Reference Number PayRef Number Payment Reference Number Amt Number (15,5) Transaction Amount Cur Number (3) Transaction Currency i.e. 344 mean HKD AuthId Text Approval Code TxTime Text (YYYY-MM-DD HH:MI:SS.0) Transaction Time errMsg Text Error Message Testing URL Select... https://test.paydollar.com/b2cDemo/eng/merchant/api/orderApi.jsp