---
title: "Trustly Azura Core"
slug: "trustly-azura-core"
updated: 2025-11-18T09:11:38Z
published: 2025-11-18T09:11:38Z
canonical: "docs.apcopay.com/trustly-azura-core"
---

> ## 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.

# Trustly Azura Core

**Trustly Azura Core:** The technology engine behind Trustly that optimizes bank transfers and Open Banking payments for faster, smarter, and more reliable transactions.

## Supported Transaction Types

- [ ] Authorisation
- [ ] Capture
- [x] Purchase
- [x] Refund
- [x] Withdrawal

## Integrations Supported

**Deposit**

- [x] [Hosted Payment Page](https://apcopay.redoc.ly/#tag/Hosted-Payment-Page)
- [ ] Direct Connect ( server-to-server)

**Refunds & Withdrawal**

- [ ] Hosted Payment Page
- [x] [Direct Connect ( server-to-server)](https://apcopay.redoc.ly/#operation/PaymentOperationAUTHPURC)

## Additional attributes to process Deposits via Trustly Azura Core

The following JSON attributes need to be included in the payload.

| Description | Hosted Payment Page |
| --- | --- |
| **Force Transaction Routing** | "Routing": { "ForcePayment": "TRAZURACORE" |
| **Client Details** | "Client": { "Email": "Johny@gmail.com", "FirstName": "John", "LastName": "Doe", "MobileNo": "+356 99886622", "City": "Test City", "Country": "SWE", "IPAddress": "127.0.0.1", "ClientAccount": "3767838329" } |
| **Test Indicator** (required in Sandbox Environment only) | "isTest”: true |

Sample request below

```json
{
  "TransactionType": "PURC",
  "Currency": "EUR",
  "Amount": "10.00",
  "OrderReference": "test",
  "RedirectionURL": "https://yoururlhere.com/Redirect/",
  "CallBackURL": "https://yoururlhere.com/Listener",
  "FailRedirectionURL": "https://yoururlhere.com/FailedRedirect/",
  "Language": "en",
  "Client": {
    "Email": "Johny@gmail.com",
    "FirstName": "John",
    "LastName": "Doe",
    "MobileNo": "+356 99886622",
    "City": "Test City",
    "Country": "SWE",
    "IPAddress": "127.0.0.1",
    "ClientAccount": "3767838329"
  },
  "Routing": {
    "ForcePayment": "TRAZURACORE"
  },
  "IsTest": "True",
  "Configuration": {
    "Profile": "showandedit"
  }
```

## Sample request to process Refunds via Trustly Azura Core

Sample request below

```json
{
  "TransactionType": "PARTIALREFUND",
  "Amount": "1.00",
  "Currency": "EUR",
  "OrderReference": "ApcoTest123",
  "RedirectionURL": "https://yoururlhere.com/Redirect/",
  "CallBackURL": "https://yoururlhere.com/Listener",
  "IsTest": true,
  "PspId": "1002151"
}
```

## Additional attributes to process Withdrawals via Trustly Azura Core

The following JSON attributes need to be included in the payload for a non-closed loop:

| Description | Hosted Payment Page |
| --- | --- |
| **Force Transaction Routing** | "Routing": { "ForcePayment": "TRAZURACORE" |
| **Client Details** | "Client": { "Email": "Johny@gmail.com", "FirstName": "John", "LastName": "Doe", "MobileNo": "+356 99886622", "City": "Test City", "Country": "SWE", "IPAddress": "127.0.0.1", "ClientAccount": "3767838329" } |
| **Payment Method** | "PaymentMethodData": { "BeneficiaryAccountNumber": "NL24RABO8589312569", "ClearingHouse": "IBAN" } |
| **Test Indicator** (required in Sandbox Environment only) | "isTest”: true |

Sample request below:

```json
{
  "TransactionType": "ORIGINALCREDIT",
  "Currency": "EUR",
  "Amount": "1",
  "OrderReference": "test12345678",
  "RedirectionURL": "https://yoururlhere.com/Redirect/",
  "CallBackURL": "https://yoururlhere.com/Listener",
  "FailRedirectionURL": "https://yoururlhere.com/FailedRedirect/",
  "Language": "en",
  "Client": {
   "Email": "johndoe@gmail.com",
    "FirstName": "John",
    "LastName": "Doe",
    "City": "Valletta",
    "DateOfBirth": "1980-01-01",
    "IPAddress": "1.1.1.1",
    "ClientAccount": "ANT"
  },
  "Routing": {
    "ForcePayment": "TRAZURACORE"
  },
  "PaymentMethodData": {
    "BeneficiaryAccountNumber": "NL24RABO8589312569",
    "ClearingHouse": "IBAN"
  },
  "IsTest": "True"
}
```

The following JSON attributes need to be included in the payload for a closed loop:

| Description | Hosted Payment Page |
| --- | --- |
| **Force Transaction Routing** | "Routing": { "ForcePayment": "TRAZURACORE" |
| **Client Details** | "Client": { "Email": "Johny@gmail.com", "FirstName": "John", "LastName": "Doe", "MobileNo": "+356 99886622", "City": "Test City", "Country": "SWE", "IPAddress": "127.0.0.1", "ClientAccount": "3767838329" } |
| **Extra attributes** | "PspId": "17957774" ***** |
| **Test Indicator** (required in Sandbox Environment only) | "isTest”: true |

- **NB: The PSPID value must be the one from the original deposit transaction.**

Sample request below:

```json
{
  "TransactionType": "ORIGINALCREDIT",
  "Currency": "EUR",
  "Amount": "1",
  "OrderReference": "test12345678",
  "RedirectionURL": "https://yoururlhere.com/Redirect/",
  "CallBackURL": "https://yoururlhere.com/Listener",
  "FailRedirectionURL": "https://yoururlhere.com/FailedRedirect/",
  "Language": "en",
  "Client": {
   "Email": "johndoe@gmail.com",
    "FirstName": "John",
    "LastName": "Doe",
    "City": "Valletta",
    "DateOfBirth": "1980-01-01",
    "IPAddress": "1.1.1.1",
    "ClientAccount": "ANT"
  },
  "Routing": {
    "ForcePayment": "TRAZURACORE"
  },
  "IsTest": "True",
  "PspId": "17957774"
}
```

## Test Credentials

A test simulator is available when using the dev environment.
