Contents

Payment facilitator

 

This page outlines the specification that must be followed by Payment Facilitators when processing payments through the Trust Payments gateway.

Info
The fields described on this page are only supported by certain acquirers (and can only be processed with Mastercard transactions). For further information, please contact our Support Team.

 


 

Process overview

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

 

Using this method, the payment facilitator fields are 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 that the payment facilitator functionality is enabled on your account, along with your preferred default values.

 

Using this method allows you to specify different values on a request-by-request basis. To configure your account to use this method, contact our Support Team and request that the payment facilitator functionality is enabled on your account. Then you can update your requests using the following specification.

 


 

Submitting payment facilitator fields in a request

Warning
Failure to meet these requirements will result in an invalid field error being returned (30000).
Using Payment Pages

 

The payment facilitator fields can be included in the POST to Payment Pages, as shown in the following example:

 

It is imperative that the payment facilitator fields are 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="hidden" name="facilitatorid" value="98765432198">
<input type="hidden" name="facilitatorname" value="FACILITATORS">
<input type="hidden" name="independentsalesorgid" value="12345678912">
<input type="hidden" name="submerchantid" value="000000000000000">
<input type="submit" value="Pay">
</form>

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

Using JavaScript Library / Mobile SDK

 

The following is an example of a request where payment facilitator fields are included:

 

You will need to update the payload submitted within your JWT to include additional fields, as shown below. Submitting the payment facilitator fields in this way will always override any values stored on your account or inherited from a parent.


{"payload":{"accounttypedescription":"ECOM","baseamount":"1050","currencyiso3a":"GBP","sitereference":"test_site12345","requesttypedescriptions":["THREEDQUERY","AUTH"],"chargedescription":"TEST DESCRIPTOR","facilitatorid":"98765432198","facilitatorname":"FACILITATORS","independentsalesorgid":"12345678912","submerchantid":"000000000000000"},"iat":1559033849,"iss":"jwt.user"}
{"payload":{"accounttypedescription":"ECOM","baseamount":"1050","currencyiso3a":"GBP","sitereference":"test_site12345","termurl":"https:\/\/payments.securetrading.net\/process\/payments\/mobilesdklistener","requesttypedescriptions":["THREEDQUERY","AUTH"],"chargedescription":"TEST DESCRIPTOR","facilitatorid":"98765432198","facilitatorname":"FACILITATORS","independentsalesorgid":"12345678912","submerchantid":"000000000000000"},"iat":1559033849,"iss":"jwt.user"}

 

Field specification

Info
All fields listed below are returned in the response JWT if sent on to the acquiring bank.
Field Format Description
chargedescription Alphanumeric including spaces and special characters (25) 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.
facilitatorid Numeric (11) The payment facilitator id assigned by Mastercard at time of registration.

facilitatorname Alphanumeric including spaces and special characters (3, 7 or 12) The payment facilitator name agreed with Mastercard.

independentsalesorgid Numeric (11) The ISO (Independent Sales Organisation) id assigned by Mastercard at time of registration.

submerchantid Alphanumeric including spaces and special characters (15) Value assigned by the payment facilitator when involved in the transaction.

 

Info
The following payment facilitator field combinations are valid for a request:

  • chargedescription, facilitatorid, facilitatorname, independentsalesorgid, submerchantid.
  • chargedescription, facilitatorid, facilitatorname, submerchantid.
  • chargedescription, facilitatorname, independentsalesorgid

An invalid combination of facilitator fields sent in the request will result in an invalid field error (30000).

 


 

Additional notes for Webservices API

Supported request types

The payment facilitator fields can be submitted in the following request types using our Webservices API:

Click here for a full list of request types.

 

Inheriting from parent requests

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