ACHPayorService


Click here for a complete list of operations.

TokenValidate

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
api_id:
api_key:
gms_id:
token:
amount:
transaction_id:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /ACHPayorService.asmx HTTP/1.1
Host: soap.gms-operations.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://soap.gms-operations.com/TokenValidate"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <TokenValidate xmlns="https://soap.gms-operations.com/">
      <api_id>string</api_id>
      <api_key>string</api_key>
      <gms_id>string</gms_id>
      <token>string</token>
      <amount>double</amount>
      <transaction_id>string</transaction_id>
    </TokenValidate>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <TokenValidateResponse xmlns="https://soap.gms-operations.com/">
      <TokenValidateResult>
        <transaction_id>int</transaction_id>
        <amount>decimal</amount>
        <submit_date>dateTime</submit_date>
        <reference_id>string</reference_id>
        <bank_route>string</bank_route>
        <bank_acct>string</bank_acct>
        <response_code>int</response_code>
        <final_decision>string</final_decision>
        <final_message>string</final_message>
        <modified_bank_route>string</modified_bank_route>
        <modified_bank_account>string</modified_bank_account>
        <name>string</name>
      </TokenValidateResult>
    </TokenValidateResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /ACHPayorService.asmx HTTP/1.1
Host: soap.gms-operations.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <TokenValidate xmlns="https://soap.gms-operations.com/">
      <api_id>string</api_id>
      <api_key>string</api_key>
      <gms_id>string</gms_id>
      <token>string</token>
      <amount>double</amount>
      <transaction_id>string</transaction_id>
    </TokenValidate>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <TokenValidateResponse xmlns="https://soap.gms-operations.com/">
      <TokenValidateResult>
        <transaction_id>int</transaction_id>
        <amount>decimal</amount>
        <submit_date>dateTime</submit_date>
        <reference_id>string</reference_id>
        <bank_route>string</bank_route>
        <bank_acct>string</bank_acct>
        <response_code>int</response_code>
        <final_decision>string</final_decision>
        <final_message>string</final_message>
        <modified_bank_route>string</modified_bank_route>
        <modified_bank_account>string</modified_bank_account>
        <name>string</name>
      </TokenValidateResult>
    </TokenValidateResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /ACHPayorService.asmx/TokenValidate?api_id=string&api_key=string&gms_id=string&token=string&amount=string&transaction_id=string HTTP/1.1
Host: soap.gms-operations.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ValidationRecord xmlns="https://soap.gms-operations.com/">
  <transaction_id>int</transaction_id>
  <amount>decimal</amount>
  <submit_date>dateTime</submit_date>
  <reference_id>string</reference_id>
  <bank_route>string</bank_route>
  <bank_acct>string</bank_acct>
  <response_code>int</response_code>
  <final_decision>string</final_decision>
  <final_message>string</final_message>
  <modified_bank_route>string</modified_bank_route>
  <modified_bank_account>string</modified_bank_account>
  <name>string</name>
</ValidationRecord>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /ACHPayorService.asmx/TokenValidate HTTP/1.1
Host: soap.gms-operations.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

api_id=string&api_key=string&gms_id=string&token=string&amount=string&transaction_id=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ValidationRecord xmlns="https://soap.gms-operations.com/">
  <transaction_id>int</transaction_id>
  <amount>decimal</amount>
  <submit_date>dateTime</submit_date>
  <reference_id>string</reference_id>
  <bank_route>string</bank_route>
  <bank_acct>string</bank_acct>
  <response_code>int</response_code>
  <final_decision>string</final_decision>
  <final_message>string</final_message>
  <modified_bank_route>string</modified_bank_route>
  <modified_bank_account>string</modified_bank_account>
  <name>string</name>
</ValidationRecord>