ACHPayorService
Click here for a complete list of operations.
InstantResponseRefund
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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/InstantResponseRefund"
<?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>
<InstantResponseRefund xmlns="https://soap.gms-operations.com/">
<api_id>string</api_id>
<api_key>string</api_key>
<gms_id>string</gms_id>
<refund_type>ACH or CC or Check or RDC or Cash or Refund</refund_type>
<original_id>string</original_id>
<amount>double</amount>
<transaction_id>string</transaction_id>
</InstantResponseRefund>
</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>
<InstantResponseRefundResponse xmlns="https://soap.gms-operations.com/">
<InstantResponseRefundResult>
<date_of_transaction>dateTime</date_of_transaction>
<transaction_id>string</transaction_id>
<reference_id>string</reference_id>
<transaction_type>string</transaction_type>
<transaction_amount>double</transaction_amount>
<transaction_state>string</transaction_state>
<state_reason>string</state_reason>
</InstantResponseRefundResult>
</InstantResponseRefundResponse>
</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>
<InstantResponseRefund xmlns="https://soap.gms-operations.com/">
<api_id>string</api_id>
<api_key>string</api_key>
<gms_id>string</gms_id>
<refund_type>ACH or CC or Check or RDC or Cash or Refund</refund_type>
<original_id>string</original_id>
<amount>double</amount>
<transaction_id>string</transaction_id>
</InstantResponseRefund>
</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>
<InstantResponseRefundResponse xmlns="https://soap.gms-operations.com/">
<InstantResponseRefundResult>
<date_of_transaction>dateTime</date_of_transaction>
<transaction_id>string</transaction_id>
<reference_id>string</reference_id>
<transaction_type>string</transaction_type>
<transaction_amount>double</transaction_amount>
<transaction_state>string</transaction_state>
<state_reason>string</state_reason>
</InstantResponseRefundResult>
</InstantResponseRefundResponse>
</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/InstantResponseRefund?api_id=string&api_key=string&gms_id=string&refund_type=string&original_id=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"?> <OneTimeTransaction xmlns="https://soap.gms-operations.com/"> <date_of_transaction>dateTime</date_of_transaction> <transaction_id>string</transaction_id> <reference_id>string</reference_id> <transaction_type>string</transaction_type> <transaction_amount>double</transaction_amount> <transaction_state>string</transaction_state> <state_reason>string</state_reason> </OneTimeTransaction>
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/InstantResponseRefund 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&refund_type=string&original_id=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"?> <OneTimeTransaction xmlns="https://soap.gms-operations.com/"> <date_of_transaction>dateTime</date_of_transaction> <transaction_id>string</transaction_id> <reference_id>string</reference_id> <transaction_type>string</transaction_type> <transaction_amount>double</transaction_amount> <transaction_state>string</transaction_state> <state_reason>string</state_reason> </OneTimeTransaction>