MDTPay by Pay Primo

Prev Next

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

Supported Transaction Types

  • Authorisation

  • Capture

  • Purchase

  • Refund

  • Withdrawal

  • Void

Integrations Supported

For the Deposit flow:

  • Hosted Payment Page

  • Direct Connect ( server-to-server)

For the Withdrawal flow:

  • Hosted Payment Page

  • 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 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",

   "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

{
  "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 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

{
  "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.