...
request for example:
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="utf-8"?> <API3G> <Request>verifyRefund</Request> <CompanyToken>4D48CB2C-497A-4F0B-9544-83B664FA0E32</CompanyToken> <TransRef>R4964845</TransRef> <TransactionToken>DDED6926-AB11-4D9E-8D9F-212ADD255444</TransactionToken> </API3G> |
...
Sample Successful Response
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <API3G><Code>000</Code> <Explanation>Results Found</Explanation> <Refunds> <Refund><Code>003</Code> <RefundStatus>Automated done</RefundStatus> <RefundDate>2022-09-28 14:12:52</RefundDate> <RefundAmount>1.0000</RefundAmount> </Refund> </Refunds> </API3G> |
Sample Successful Response if Multiple refunds on a transaction
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <API3G><Code>000</Code> <Explanation>Results Found</Explanation> <Refunds> <Refund><Code>003</Code> <RefundStatus>Automated done</RefundStatus> <RefundDate>2022-08-31 14:36:34</RefundDate> <RefundAmount>1.0000</RefundAmount> </Refund> <Refund><Code>003</Code> <RefundStatus>Automated done</RefundStatus> <RefundDate>2022-08-31 14:48:44</RefundDate> <RefundAmount>1.0000</RefundAmount> </Refund> <Refund><Code>003</Code> <RefundStatus>Automated done</RefundStatus> <RefundDate>2022-08-31 14:48:49</RefundDate> <RefundAmount>1.0000</RefundAmount> </Refund> </Refunds> </API3G> |
...
Sample failed response:
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <API3G><Code>000</Code> <Explanation>No refunds found</Explanation> <Refunds></Refunds> </API3G> |
...