{"id":6586,"date":"2022-03-29T12:58:49","date_gmt":"2022-03-29T16:58:49","guid":{"rendered":"https:\/\/tranzpay.io\/getting-started-api\/clone-of-ach-method-2\/"},"modified":"2025-07-22T16:52:34","modified_gmt":"2025-07-22T20:52:34","slug":"hosted-payment-method","status":"publish","type":"page","link":"https:\/\/tranzpay.io\/getting-started-api\/hosted-payment-method\/","title":{"rendered":"Hosted Payment Method"},"content":{"rendered":"<h2>Hosted Payment Method<\/h2>\n<h2><\/h2>\n<h3><a href=\"https:\/\/tranzpay.io\/getting-started-api\/api-docs\/#menu_achcharge\" style=\"outline: none;\">Overview<\/a><\/h3>\n<p>This document provides technical specifications for processing financial transactions through the Tranzpay gateway by interfacing with the Gateway API and a Hosted Payment Page. We have written this specifically for web designers and professionals who design, implement and support the intended systems. We use HTTPS POST to transmit and receive data.<\/p>\n<p><b>Description:<\/b>To reduce your PCI DCSS requirements and liability, and eliminate sensitive card data footprints in your environment, Tranzpay provides a Hosted Payment Page Solution that provides the ability to authorize and capture transactions while adhering to all PCI requirements.Summary of Steps Required<\/p>\n<ol>\n<li>Send non-secure customer data in initial request to prefill Customer Name, Address, Phone, Email, Policy Number, along with your PostBack and RedirectUrl to capture and store payment results.<\/li>\n<li>Receive encrypted payment link via API Response to prefilled payment form.<\/li>\n<li>Using tokenized payment link, customer will enter payment information and has the option to save information for future use (rebill).<\/li>\n<li>Payment is processed and customer is sent to provided RedirectUrl to view transaction results.<\/li>\n<li>Provided PostBackUrl receives POST response and stores response in database.<\/li>\n<\/ol>\n<h2><\/h2>\n<h3>Initial Request<\/h3>\n<h2><\/h2>\n<h3>Sample Request<\/h3>\n<p>Notes<\/p>\n<p><b>ThirdPartyCallID<\/b>&nbsp;must be unique to every transaction.<b>PostBackUrl<\/b>&nbsp;is your API page set up to process a POST request containing results of the transaction.<b>RedirectUrl<\/b>&nbsp;is the page the customer will be directed to to view the results of the transaction from the Postback results provided to the PostBackUrl.<b>CancelUrl<\/b>&nbsp;is the page the customer will be directed to if the transaction is cancelled before completion, or the session times-out.<b>AddVault<\/b>&nbsp;should be \u201cY\u201d to give customer the option to save payment information for future use in the Customer Vault. If \u201cN\u201d the option will not be displayed to customer.<b>CustomerID<\/b>&nbsp;should be a minimum of 6 characters, maximum of 45 characters with no spaces.<\/p>\n<p>To test and view the postback response within the page, it is recommended to use<a href=\"https:\/\/demo.tranzpay.com\/testThirdPartyCheck.php\" style=\"outline: none;\">demo.tranzpay.com\/testThirdPartyCheck.php<\/a>&nbsp;in the RedirectUrl field and&nbsp;<a href=\"https:\/\/demo.tranzpay.com\/testSilentPostBack.php\" style=\"outline: none;\">demo.tranzpay.com\/testSilentPostBack.php<\/a> in the PostBackUrl field. These pages are for demonstration purposes only.<\/p>\n<h2><\/h2>\n<h3>Sample Initial Response<\/h3>\n<h4><\/h4>\n<h3>Postback Response<\/h3>\n<table data-rows=\"32\" data-cols=\"6\">\n<thead>\n<tr>\n<th style=\"\">\n<p style=\"\">Fieldname<\/p>\n<\/th>\n<th style=\"\">\n<p style=\"\">Required<\/p>\n<\/th>\n<th style=\"\">\n<p style=\"\">Type<\/p>\n<\/th>\n<th>\n<p style=\"\">Description<\/p>\n<\/th>\n<th style=\"\">\n<p style=\"\">Validate<\/p>\n<\/th>\n<th colspan=\"1\" rowspan=\"1\">\n<p style=\"\">Post<\/p>\n<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>Status<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Transaction Status<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>SUCCESS or FAILED<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>Status<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>TransactionType<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Transaction type to process. (\u201cThirdParty\u201d)<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>ThirdParty<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>TransactionType<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>ResponseMessage<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Transaction Response Message<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>APPROVED or DECLINED<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>ResponseMessage<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>ResponseCode<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Transaction Response Code<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>00=Approved<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>ResponseMessage<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>CardType<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Payment method card type<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>Visa, Mastercard, Discover, American Express<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>CardType<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>AccountNumber<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Last four digits of account number<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>Numeric only<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>AccountNumber<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>ExpirationDateMMYY<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>2 digit month and 2 digit year<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>06\/24<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>ExpirationDateMMYY<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>PaymentMethod<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Transaction Payment Type (CC or ACH)<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">Cell<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>PaymentMethod<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>TransactionDate<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>DateTime<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>TransactionDate<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">Cell<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>02\/04\/2020 1:21:30 pm<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>TransactionAmount<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Transaction Amount<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>Float<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>TransactionAmount<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>BaseAmount<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>BaseAmount<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>Float<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>BaseAmount<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>BillingNameFirst<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Billing First Name<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>Enter your text here&#8230;<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>BillingNameFirst<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>BillingNameLast<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Billing Last Name<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">Cell<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>BillingNameLast<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>BillingFullName<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Billing Full Name<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">Cell<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>BillingFullName<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>BillingAddress<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Billing Address<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">Cell<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>BillingAddress<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>BillingCity<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Billing City<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">Cell<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>BillingCity<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>BillingState<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Billing State<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">Cell<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>BillingState<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>BillingZip<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Billing Zip Code<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">Cell<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>BillingZip<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>AuthCode<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Authorization Code<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>Any alphanumeric<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>AuthCode<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>AvsRsltCode<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>AVS Result Code<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>\u2018Y\u2019or \u2018N\u2019<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>AvsRsltCode<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>TransactionID<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Id unique to transaction on the payment gateway<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">Cell<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>TransactionID<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>CVV2ResponseMessage<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>CVV2 Response Message<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">Cell<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>CVV2ResponseMessage<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>CVV2ResponseCode<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>CVV2 Response Code<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">Cell<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>CVV2ResponseCode<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>ThirdPartyCallID<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Unique ID assigned by merchant for transaction.<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>Any alphanumeric, Max Len (45)<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>ThirdPartyCallID<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>AddVault<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>\u2018Y\u2019 if the payment data was saved to Vault. \u2018N\u2019 for No.<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>\u2018Y\u2019or \u2018N\u2019<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>AddVault<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>CustomerID<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Token ID for Vault Entry (Saved Payment Information)<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>Any alphanumeric<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>Min. Len (6) Max Len. (45)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>PolicyNum<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Customer policy number or equivalent.<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>Any alphanumeric<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>PolicyNum<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>Error<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Returned error Message.<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>Any alphanumeric<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>Error<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>StatusMessage<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Status Message<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>Any alphanumeric<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>StatusMessage<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>BankName<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Bank Name<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>Any alphanumeric<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>BankName<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Fieldname\" rowspan=\"1\" colspan=\"1\">\n<p>AuthOnly<\/p>\n<\/td>\n<td data-th=\"Required\" rowspan=\"1\" colspan=\"1\"><\/td>\n<td data-th=\"Type\" rowspan=\"1\" colspan=\"1\">\n<p>String<\/p>\n<\/td>\n<td data-th=\"Description\" rowspan=\"1\" colspan=\"1\">\n<p>Auth Only<\/p>\n<\/td>\n<td data-th=\"Validate\" rowspan=\"1\" colspan=\"1\">\n<p>Y or N<\/p>\n<\/td>\n<td data-th=\"Post\" colspan=\"1\" rowspan=\"1\">\n<p>AuthOnly<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4><\/h4>\n<h3>Sample Postback Success Return<\/h3>\n<h4><\/h4>\n<h3>Sample Postback Failed Return<\/h3>\n<p><b>Notes:<\/b>Values above can be fetched in PHP via $_POST variables. Example: on the Post Back url page just use $_POST[\u2018Status\u2019] to fetch \u201cSUCCESS\u201d or \u201cFAILED\u201d.Even if Initial Request passes AddVault=Y, if the customer does not opt to save payment information for future use (via the checkbox to save payment information), the Postback will exclude a CustomerID and return AddVault=N. This is the same for both SUCCESS and FAILED transaction responses.<\/p>\n<h4><\/h4>\n<h3>Methodology<\/h3>\n<p>Postback response contains \u2018TransactionID\u2019 and \u2018CustomerID\u2019 if the customer\u2019s information was successfully added the vault. Using the \u2018TransactionID\u2019 or \u2018CustomerID\u2019 the following functions are available:<\/p>\n<h3 style=\"\">Voiding a transaction:<\/h3>\n<p>Supply the TransactionID from the original transaction, and utilize the&nbsp;<a href=\"https:\/\/tranzpay.io\/getting-started-api\/api-docs\/#menu_creditcardvoid\">CreditCardVoid<\/a>&nbsp;or the&nbsp;<a href=\"https:\/\/tranzpay.io\/getting-started-api\/api-docs\/#menu_achvoid\">ACHVoid<\/a>&nbsp;request. Transactions may only be voided before they settle. For settled transactions, please see Refunding a Transaction below.<\/p>\n<h3 style=\"\">Refunding a transaction:<\/h3>\n<p>After a transaction has settled, you will need to issue a refund, rather than void. Provide a TransactionID and TransactionAmount to utilize the&nbsp;<a href=\"https:\/\/tranzpay.io\/getting-started-api\/api-docs\/#menu_creditcardrefund\">CreditCardCredit<\/a>&nbsp;or the&nbsp;<a href=\"https:\/\/tranzpay.io\/getting-started-api\/api-docs\/#menu_achrefund\">ACHRefund<\/a>&nbsp;request.<\/p>\n<h3 style=\"\">Check Status:<\/h3>\n<p>To check the status of a transaction, use the TransactionID and utilize the&nbsp;<a href=\"https:\/\/tranzpay.io\/getting-started-api\/api-docs\/#menu_gettransaction\">GetTransaction<\/a>&nbsp;request.<\/p>\n<h3 style=\"\">Rebilling a Customer:<\/h3>\n<p>To rebill a customer that was previously added to the Customer Vault, provide the CustomerID and then utilize one the following API requests:<\/p>\n<p>Credit Card:&nbsp;<a href=\"https:\/\/tranzpay.io\/getting-started-api\/api-docs\/#menu_vaultccsale\" style=\"outline: none;\">AddCustomerCCCharge<\/a>ACH:&nbsp;<a href=\"https:\/\/tranzpay.io\/getting-started-api\/api-docs\/#menu_vaultachsale\" style=\"outline: none;\">AddCustomerACHDebit<\/a><\/p>\n<h3 style=\"\">Updating a Vault Record:<\/h3>\n<p>To update a customer record in the vault, provide the CustomerID and utilize the&nbsp;<a href=\"https:\/\/tranzpay.io\/getting-started-api\/api-docs\/#menu_updatecustomer\" style=\"outline: none;\">UpdateCustomer<\/a>&nbsp;request.<\/p>\n<h3 style=\"\">View Vault Record:<\/h3>\n<p>To view details of a previously stored Vault record, provide the CustomerID and utilize the&nbsp;<a href=\"https:\/\/tranzpay.io\/getting-started-api\/api-docs\/#menu_getcustomer\">GetCustomer<\/a> API Request.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hosted Payment Method Overview This document provides technical specifications for processing financial transactions through the Tranzpay gateway by interfacing with the Gateway API and a Hosted Payment Page. We have written this specifically for web designers and professionals who design, implement and support the intended systems. We use HTTPS POST to transmit and receive data. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","tve_updated_post":"","tve_custom_css":"","tve_user_custom_css":"","tve_globals":{},"tcb2_ready":1,"tcb_editor_enabled":1,"tve_landing_page":"tcb2-shapeshift-blank-page","_tve_header":"6404","_tve_footer":"0"},"wf_page_folders":[89],"class_list":["post-6586","page","type-page","status-publish","hentry","post-wrapper","thrv_wrapper"],"_links":{"self":[{"href":"https:\/\/tranzpay.io\/getting-started-api\/wp-json\/wp\/v2\/pages\/6586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tranzpay.io\/getting-started-api\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tranzpay.io\/getting-started-api\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tranzpay.io\/getting-started-api\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tranzpay.io\/getting-started-api\/wp-json\/wp\/v2\/comments?post=6586"}],"version-history":[{"count":38,"href":"https:\/\/tranzpay.io\/getting-started-api\/wp-json\/wp\/v2\/pages\/6586\/revisions"}],"predecessor-version":[{"id":1022096,"href":"https:\/\/tranzpay.io\/getting-started-api\/wp-json\/wp\/v2\/pages\/6586\/revisions\/1022096"}],"wp:attachment":[{"href":"https:\/\/tranzpay.io\/getting-started-api\/wp-json\/wp\/v2\/media?parent=6586"}],"wp:term":[{"taxonomy":"wf_page_folders","embeddable":true,"href":"https:\/\/tranzpay.io\/getting-started-api\/wp-json\/wp\/v2\/wf_page_folders?post=6586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}