---
title: "Trust Card Processing"
slug: "trust-card-processing"
updated: 2026-02-27T07:55:55Z
published: 2026-02-27T07:55:55Z
canonical: "docs.apcopay.com/trust-card-processing"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apcopay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Trust Card Processing

## Supported Transaction Types

- [x] Authorisation `AUTH`
- [x] Capture `CAPT`
- [x] Purchase `PURC`
- [x] Refund `PARTIALREFUND`
- [x] Void `GENERALVOID`
- [x] Payouts `ORIGINALCREDIT`
- [x] Recurring `AUTH` / `PURC`

## Integrations Supported

**Deposit - Authorisation / Purchase**

- [x] Hosted Payment Page
- [x] Direct Connect ( server-to-server)

**Capture, Void, Refunds, Payouts, Recurring**

- [ ] Hosted Payment Page
- [x] Direct Connect ( server-to-server)

## Supported Wallet

- [x] GooglePay
- [x] Applepay

## Currencies & Countries Supported

| Title | Description |
| --- | --- |
| **Currencies Supported** | EUR, USD, GBP, JPY and many others. |

## Additional attributes to process Deposits

You must include the following JSON Attributes to the payload. These attributes inform us to proceed with the redirection to Trust to finalize the payment process.

if you are using our **Hosted Payment Page**

| Description | Hosted Payment Page |
| --- | --- |
| **Force Transaction Routing** | “Routing”:{ "ForceBank": "TRUST” } |
| **Client Details** | "Client": { "Email": "test@gmail.com", "FirstName": "Apco", "LastName": "Test", "MobileNo": "7777777", "Street": "Church Street", "City": "Virtu", "State": "Rabat", "ZIPCode": "RBT2640", "Country": "MLT", “IPAddress": "1.1.1.1" } |
| **Test Indicator** | "isTest”: true |

Sample requests using our Hosted Payment Page can be viewed here.

```json
 {
  "TransactionType": "AUTH",
  "Amount": "1.00",
  "Currency": "EUR",
  "OrderReference": "TRUST-AUTH",
  "UniqueReference": "e0a65b67-6723-4ed4-bcdc-168f242f8df9",
  "RedirectionURL": "https://www.yourURLhere.com/Redirect/",
  "CallBackURL": "https://www.yourURLhere.com/Listener",
  "Routing": {
    "ForceBank": "TRUST"
  },
  "Client": {
    "Email": "apcotest@gmail.com",
    "FirstName": "Apco",
    "LastName": "Test",
    "MobileNo": "77777777",
    "ZIPCode": "RBT2640",
    "Street": "Church Street",
    "Country": "MLT",
    "City": "Virtu",
    "State": "Rabat",
    "ClientAccount": "testing"
  },
  "IsTest": true
}
```

If you are using our **direct connect solution** (server-to-server)

| Description | Direct Connect |
| --- | --- |
| **Force Transaction Routing** | “Routing”:{ "ForceBank": "TRUST” } |
| **Client Details** | "Client": { "Email": "test@gmail.com", "FirstName": "Apco", "LastName": "Test", "MobileNo": "7777777", "Street": "Church Street", "City": "Virtu", "State": "Rabat", "ZIPCode": "RBT2640", "Country": "MLT", “IPAddress": "1.1.1.1" } |
| **Card Details** | "PaymentCredentials": { "PaymentSource": "Card", "CardNumber": "5351772561457936", "CvV2": "123", "ExpMonth": "03", "ExpYear": "2027", "CardHolderName": "Joe Smith" }, |
| **Browser details** | "BrowserDetails": { "UserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36", "JavaEnabled": true, "ScreenColorDepth": "1", "ScreenWidth": "1080", "ScreenHeight": "840", "TimeZone": "2", "AcceptHeader": "application/json", "BrowserLanguage": "en" } |
| **Test Indicator** | "isTest”: true |

Sample requests using Direct Connect can be viewed here.

```json
 {
  "TransactionType": "PURC",
  "Amount": 1.1,
  "Currency": "EUR",
  "IsTest": true,
  "OrderReference": "123",
  "UniqueReference": "e0a65b67-6723-4ed4-bcdc-168f242f8df9",
  "RedirectionURL": "https://www.yourURLhere.com/Redirect/",
  "CallBackURL": "https://www.yourURLhere.com/Listener",
  "PaymentCredentials": {
    "PaymentSource": "Card",
    "CardType": "VISA",
    "CardNumber": "4000000000001018",
    "CardHolderName": "Frictionless Processed",
    "ExpMonth": "12",
    "ExpYear": "2030",
    "CvV2": "666"
  },
  "Client": {
    "FirstName": "Apco",
    "LastName": "Test",
    "Email": "apcotest@test.com",
    "Street": "1,Street",
    "City": "Marsa",
    "IPAddress": "1.1.1.1",
    "ZIPCode": "MRS3000",
    "Country": "MLT",
    "State": "Rabat",
    "MobileNo": "+20100000000"
  },
   "BrowserDetails": {
    "UserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36",
    "JavaEnabled": true,
    "ScreenColorDepth": "1",
    "ScreenWidth": "1080",
    "ScreenHeight": "840",
    "TimeZone": "2",
    "AcceptHeader": "application/json",
    "BrowserLanguage": "en"
  },
  "Routing": {
    "ForceBank": "TRUST"
  }
}
```

### Requesting a Capture or Void

If you wish to `Capture` a transaction of type `Authorisation`, below are the mandatory fields.

| Description | Direct Connect |
| --- | --- |
| **Transaction Reference** | "PspID": "342342” |

sample request for processing a `capture` request.

```json
{
"TransactionType": "CAPT",
"Amount": 1,
"CallBackURL": "https://www.yourURLhere.com/Listener",
"IsTest": true,
"UniqueReference": "6514441d-8abe-4d7b-9e0c-3aa386333b34",
"PspID":839791 
}
```

### Requesting a Payout

Using our direct integration, below are the mandatory fields required to process a `payout`. We currently support three options for payout:

- via a PSP ID
- via a Card Token
- via a full Card PAN details

| Description | PSP ID | Card Token | Full Card PAN |
| --- | --- | --- | --- |
| **Force Transaction Routing** | *Not required* | "Routing": { "ForceBank": "TRUST" }, | "Routing": { "ForceBank": "TRUST" }, |
| **Client** | "Client": { "FirstName": "Apco", "LastName": "Test", "Email": "apcotest@test.com", "Street": "1,Street", "City": "Marsa", "IPAddress": "1.1.1.1", "ZIPCode": "MRS3000", "Country": "MLT", "MobileNo": "+20100000000" }, | "Client": { "FirstName": "Apco", "LastName": "Test", "Email": "apcotest@test.com", "Street": "1,Street", "City": "Marsa", "IPAddress": "1.1.1.1", "ZIPCode": "MRS3000", "Country": "MLT", "MobileNo": "+20100000000" }, | "Client": { "FirstName": "Apco", "LastName": "Test", "Email": "apcotest@test.com", "Street": "1,Street", "City": "Marsa", "IPAddress": "1.1.1.1", "ZIPCode": "MRS3000", "Country": "MLT", "MobileNo": "+20100000000" }, |
| **Transaction or Payment Reference** | "PspID": "342342” | "PaymentDestination": { "PaymentMethod": "CardToken", "CardToken": "c840e58e-519d-409a-b525-297fadf60733" }, | "PaymentDestination": { "PaymentMethod": "Card", "CardType": "VISA", "CardNumber": "4000000000001018", "CardHolderName": "Apco Test", "ExpMonth": "12", "ExpYear": "2040", "CvV2":"123" }, |
| **Test Indicator** | "isTest”: true | "isTest”: true | "isTest”: true |

**Sample Payout Request using the PSP ID**

```json
{
  "TransactionType": "ORIGINALCREDIT",
  "Amount": "1.00",
  "Currency": "EUR",
  "OrderReference": "TRUSTTEST",
  "UniqueReference": "4b8da4f0-d3b4-44ae-8019-8c66905ffad7",
  "ClientAccount": "testing",
  "CallBackURL": "https://www.yourURLhere.com/Listener",
  "RedirectionURL": "https://www.yourURLhere.com/Redirect/",
  "FailRedirectionURL": "https://www.yourURLhere.com/Redirect/failed",
  "Client": {
    "FirstName": "Apco",
    "LastName": "Test",
    "Email": "apcotest@test.com",
    "Street": "1,Street",
    "City": "Marsa",
    "IPAddress": "1.1.1.1",
    "ZIPCode": "MRS3000",
    "Country": "MLT",
    "MobileNo": "+20100000000"
  },
  "IsTest": true,
  "PSPID": "823205"
}
```

### **Requesting a Recurring transaction**

Using our direct connect integration, the mandatory fields are required to process a recurring transaction. Notice that we are using a transaction reference as payment credentials since a recurring transaction is linked to an original deposit.

| Description | Direct Connect |
| --- | --- |
| **Payment Credentials** | "PaymentCredentials": { "PaymentSource": "TransactionReference" }, |
| **Client** | "Client": { "FirstName": "Apco", "LastName": "Test", "Email": "apcotest@test.com", "Street": "1,Street", "City": "Marsa", "IPAddress": "1.1.1.1", "ZIPCode": "MRS3000", "Country": "MLT", "MobileNo": "+20100000000" }, |
| **Transaction Reference** | "PspID": "342342” |
| **Test Indicator** | "isTest”: true |

**Sample Request of a Recurring transaction**

```json
 {
  "TransactionType": "PURC",
  "Currency": "EUR",
  "Amount": "1.1",
  "OrderReference": "TRUST REC TEST",
  "UniqueReference": "e0a65b67-6723-4ed4-bcdc-168f242f8df9",
  "RedirectionURL": "https://www.yourURLhere.com/Redirect",
  "CallBackURL": "https://www.yourURLhere.com/Listener",
  "FailRedirectionURL": "https://www.yourURLhere.com/Redirect?page=failed",
  "Language": "en",
  "IsTest": true,
  "PspId": "840510",
  "PaymentCredentials": {
    "PaymentSource": "TransactionReference"
  },
  "Client": {
    "Email": "apcotest@gmail.com",
    "FirstName": "Apco",
    "LastName": "Test",
    "MobileNo": "77777777",
    "ZIPCode": "RBT2640",
    "Street": "Church Street",
    "Country": "MLT",
    "City": "Virtu",
    "State": "Rabat",
    "ClientAccount": "testing"
  }
}
```

**Test Credentials**

Test Card details below. You must use a future expiry date and use “Frictionless Processed” as the cardholder name. For more test information on different card use cases [here](/v1/docs/test-card-numbers).

| Card Details |
| --- |
| 5123456789012346 |
| 4000000000001018 |
| 4888524251678924 |
