Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

The refundToken request will create refund for the transaction currency.

URL: https://secure.3gdirectpay.com/API/v6/


Usage

Use this method in order to create refund for paid transaction.

...

Code Block
languagexml
titlerequest example
Using Token
<?xml version="1.0" encoding="utf-8"?>
<API3G>
  <Request>refundToken</Request>
  <CompanyToken>68B90B5E-25F6-4146-8AB1-CV4GA0C41A7F</CompanyToken>
  <TransactionToken>246757AE-4D4F-7763-BFF5-326704703102</TransactionToken>
  <refundAmount>1.2</refundAmount>
  <refundDetails>Refund description</refundDetails>
</API3G>

Using DPO REF
REF<<?xml version="1.0" encoding="utf-8"?>
<API3G>
<Request>refundToken</Request>
<CompanyToken>68B90B5E-25F6-4146-8AB1-CV4GA0C41A7F</CompanyToken>
<TransRef>R4852596P6</TransRef>
<refundAmount>1.2</refundAmount>
<refundDetails>Refund description</refundDetails>
</API3G>

...