Charge description

  Last updated: 

 

The charge description is a field that we provide to the acquiring bank during a transaction. It is a basic description of the transaction that is shown on the customer’s bank statement.

  This functionality is supported for merchants with a Trust Payments acquiring account. If you are using a different acquiring bank, you will need to contact our Support Team to check this feature is supported before proceeding.

This page explains how to include a charge description in your requests.

 

Process overview

There are two methods that can be used to include chargedescription in requests submitted to the acquiring bank:

  1. By assigning a default charge description to your account:
    Using this method, the charge description is automatically included in transactions processed on your account, with no additional configuration required. To configure your account to use this method, contact our Support Team, requesting to configure a default charge description.
  2. By manually including a charge description in your requests:
    Using this method allows you to specify a different charge description on a request-by-request basis.

 

Submitting charge description in a request

Payment Pages

The chargedescription field can be included in the POST to Payment Pages, as shown in the following example:

  It is imperative that the chargedescription field is also included in the string used to generate your request site security hash. Failure to do so will result in the customer being shown an “Invalid details” error message.

<form method="POST" action="<DOMAIN>/process/payments/choice">
<input type="hidden" name="sitereference" value="test_site12345">
<input type="hidden" name="currencyiso3a" value="USD">
<input type="hidden" name="mainamount" value="100.00">
<input type="hidden" name="version" value="2">
<input type="hidden" name="stprofile" value="default">
<input type="hidden" name="chargedescription" value="TEST DESCRIPTOR">
<input type="submit" value="Pay">
</form>

Replace <DOMAIN> with a supported domain. Click here for a full list.

API

You will need to update the payload submitted within your JWT to include the additional field chargedescription, as shown below. Submitting the charge description in this way will always override any value stored on your account or inherited from a parent.

  You can also include the chargedescription when submitting a request through our Webservices API. We’ve also provided examples of this in the other tabs below:

JS Library payload Mobile SDK payload Raw JSON Raw XML
{
"payload":{
"accounttypedescription":"ECOM",
"baseamount":"1050",
"currencyiso3a":"GBP",
"sitereference":"test_site12345",
"requesttypedescriptions":["THREEDQUERY","AUTH"],
"chargedescription":"TEST DESCRIPTOR"
},
"iat":1559033849,
"iss":"jwt.user"
}

 

Field specification

  Field Format Description
X3-EN.png chargedescription
XPath: /merchant/chargedescription
Alphanumeric including spaces and special characters (25)

Recommended length 25 characters or less (exact length dependent on acquiring bank). Failure to adhere to this requirement may result in the text being truncated in the transaction.

The charge description is a field that we provide to the acquiring bank during a transaction. It is a basic description of the transaction that is shown on the customer’s bank statement.

The charge description is returned in the response JWT if it has been sent to the acquiring bank.

 

Additional notes

Supported request types

The charge description fields can be submitted in the following requests using our Webservices API:

  • ACCOUNTCHECK
  • AUTH
  • ORDER
  • ORDERDETAILS
  • REFUND
  • RISKDEC
  • THREEDQUERY

Click here for a full list of request types.

 

Inheriting from parent requests

If you do not submit the chargedescription in a request, and a parent transaction reference is specified, the chargedescription is inherited from said parent, unless the parent request type is AUTH or REFUND.

Was this article helpful?
0 out of 0 found this helpful