---
title: "MDTPay by Pay Primo"
slug: "mdt-pay-by-pay-primo"
updated: 2025-06-13T09:10:09Z
published: 2025-06-13T09:10:09Z
canonical: "docs.apcopay.com/mdt-pay-by-pay-primo"
---

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

# MDTPay by Pay Primo

**MDTPAY** is a bank transfer solution by PayPimo for the Turkish Market.

## Supported Transaction Types

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

## Integrations Supported

For the Deposit flow:

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

For the Withdrawal flow:

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

## Currencies & Countries Supported

| Title | Description |
| --- | --- |
| **Currencies Supported** | TRY |
| **Countries Supported** | Turkey |

## Additional attributes to process MDTPay

You must include the following JSON Attributes in the payload for the MDTPay option.

**Deposit:**

Refer to our API Reference Document [here](https://apcopay.redoc.ly/#tag/Hosted-Payment-Page) to create a Hosted Payment Page, and use the below mandatory tags to process a deposit.

| Description | Hosted Payment Page |
| --- | --- |
| **Force Transaction Routing** | "Routing": { "ForcePayment": "MDTPAY" |
| **Client Information** | "Client": { "Email": "[test@email.com](mailto:test@email.com)", "ClientAccount": "CliAcc01002", "FirstName": "John", "LastName": "Doe", "Country": "MLT", "MobileNo": "1231212", "Street": "High Street", "City": "MagicCity", "ZIPCode": "MSU123", "State": "UK", "DateOfBirth": "1977-12-31", "IPAddress": "127.0.0.1" |
| **Payment Method Data** | "PaymentMethodData": { "PaymentMethod": "BankTransfer" |
| **Test Indicator** (required in Sandbox Environment only) | "isTest”: "True" |

A sample request can be found below

```json
{
  "TransactionType": "PURC",
  "Amount": "100",
  "Currency": "TRY",
  "OrderReference": "MerchantOrder1",
  "RedirectionURL": "https://www.yourURLhere.com/Redirect/",
  "CallBackURL": "https://www.yourURLhere.com/Listener",
  "UniqueReference": "3a9f50f7-2deb-4dbf-a186-d58641s36665",
   "Client": {
    "Email": "test@email.com",
    "ClientAccount": "CliAcc01002",
    "FirstName": "John",
    "LastName": "Doe",
    "Country": "MLT",
    "MobileNo": "1231212",
    "Street": "High Street",
    "City": "MagicCity",
    "ZIPCode": "MSU123",
    "State": "UK",
    "DateOfBirth": "1977-12-31",
    "IPAddress": "127.0.0.1"
  },
   "Routing": {
    "ForcePayment": "MDTPAY"
  },
  "IsTest": "True",
  "PaymentMethodData": {
    "PaymentMethod": "BankTransfer"
  },
  "Configuration": {
    "Profile": "showandedit"
  }
}
```

**Withdrawals:**

Refer to our API Reference Document [here](https://apcopay.redoc.ly/#tag/Hosted-Payment-Page) to create a server-to-server call, use the below mandatory tags to process a withdrawal.

| Description | Hosted Payment Page |
| --- | --- |
| **Force Transaction Routing** | "Routing": { "ForcePayment": "MDTPAY" |
| **Client Information** | "Client": { "Email": "test@email.com", "ClientAccount": "CliAcc01002", "FirstName": "John", "LastName": "Doe", "Country": "MLT", "MobileNo": "1231212", "Street": "High Street", "City": "MagicCity", "ZIPCode": "MSU123", "State": "UK", "DateOfBirth": "1977-12-31", "IPAddress": "127.0.0.1" |
| **Payment Method Data** | "PaymentMethodData": { "PaymentMethod": "BankTransfer", "BeneficiaryAccountNumber": "TR330006100519786457841326" |
| **Test Indicator** (required in Sandbox Environment only) | "isTest”: "True" |

A sample request can be found below

```json
{
  "TransactionType": "ORIGINALCREDIT",
  "Amount": "100",
  "Currency": "TRY",
  "OrderReference": "MerchantOrder1",
  "RedirectionURL": "https://www.yourURLhere.com/Redirect/",
  "CallBackURL": "https://www.yourURLhere.com/Listener",
  "Client": {
    "Email": "test@email.com",
    "ClientAccount": "CliAcc01002",
    "FirstName": "John",
    "LastName": "Doe",
    "Country": "MLT",
    "MobileNo": "1231212",
    "Street": "High Street",
    "City": "MagicCity",
    "ZIPCode": "MSU123",
    "State": "UK",
    "DateOfBirth": "1977-12-31",
    "IPAddress": "127.0.0.1"
  },
  "Routing": {
    "ForcePayment": "MDTPAY"
  },
  "PaymentMethodData": {
    "PaymentMethod": "BankTransfer",
    "BeneficiaryAccountNumber": "TR330006100519786457841326"
  },
  "IsTest": "True",
  "Configuration": {
    "Profile": "showandedit"
  }
}
```

## Test Credentials

For testing both deposits and Withdrawals, ask our support team to process a transaction for you to simulate a successful transaction. It’s important to provide them with the PSPID.
