PayX

Prev Next

Supported Transaction Types

Integrations Supported

Deposit

Withdrawal

Currencies & Countries Supported

Title

Description

Currencies Supported

Various

Additional attributes to process PayX

You must include the following JSON Attributes to the payload. These attributes inform us to redirect to Paystack to finalise the payment process.

Description

Hosted Payment Page

Direct Connect (Withdrawals)

Transaction type

"TransactionType": "PURC",

"TransactionType": "ORIGINALCREDIT",

Client

"Client": {

   "email": "test@apcopay.com",

   "clientAccount": "testing",

   "firstName": "John",

   "lastName": "Doe",

   "country": "EN",

   "mobileNo": "3567789963",

   "street": "High Street",

   "city": "MagicCity",

   "ZIPCode": "BGGC1234",

   "state": "UK",

   "dateOfBirth": "1977-12-31",

   "IPAddress": "127.0.0.1"

 }

"Client": {

   "FirstName": "Joe",

   "LastName": "Bloggs",

   "Country": "MLT",

   "Street": "High Street",

   "City": "MagicCity",

   "Email": "apcotest@test.com",

   "IPAddress": "214.21.134.79",

   "ClientAccount": "123456"

 }

Force Transaction Routing

"Routing": {

   "ForcePayment": "PAYX"

 }

"Routing": {

   "ForcePayment": "PAYX"

 }

Payment Destination Data

"PaymentMethodData": {

     "PaymentMethod": "BANKTRANSFER",

"PaymentDestination": {

   "PaymentMethodData": {

     "PaymentMethod": "BANKTRANSFER",
     "BankCode": "1007",

     "BeneficiaryAccountNumber": "123456"

   }

Test Indicator (required in Sandbox Environment only)

"IsTest": True

Sample Deposit Request

Refer to our API Reference Document here to create a Hosted Payment Page, use the below mandatory tags to process a deposit.

Below is a sample deposit request.

{
  "TransactionType": "PURC",
  "Amount": "12.34",
  "Currency": "USD",
  "Country": "MLT",
  "OrderReference": "MerchantOrder1",
  "RedirectionURL": "https://www.yourURLhere.com/Redirect/",
  "CallBackURL": "https://www.yourURL.com/Listener",
  "Routing": {
    "ForcePayment": "PAYX"
  },
  "PaymentMethodData": {
      "PaymentMethod": "BANKTRANSFER",
   }
  "IsTest": "True",
  "Profile": "showandedit",
  "Client": {
    "email": "test@apcopay.com",
    "clientAccount": "testing",
    "firstName": "John",
    "lastName": "Doe",
    "country": "EN",
    "mobileNo": "3567789963",
    "street": "High Street",
    "city": "MagicCity",
    "ZIPCode": "BGGC1234",
    "state": "UK",
    "dateOfBirth": "1977-12-31",
    "IPAddress": "127.0.0.1"
  }
}

Withdrawals

Withdrawals are processed via Direct Connect. The API reference to request a payout can be found here.

Below is a sample Withdrawal request.

{
  "TransactionType": "ORIGINALCREDIT",
  "Amount": "1.00",
  "Currency": "USD",
  "OrderReference": "reference payout",
  "PaymentDestination": {
    "PaymentMethodData": {
      "PaymentMethod": "OPEN_BANKING",
      "BeneficiaryAccountNumber": "123456"
    }
  },
  "Routing": {
    "ForcePayment": "PAYX"
  },
  "Client": {
    "FirstName": "Joe",
    "LastName": "Bloggs",
    "Country": "MLT",
    "Street": "High Street",
    "City": "MagicCity",
    "Email": "apcotest@test.com",
    "IPAddress": "214.21.134.79",
    "ClientAccount": "123456"
  },
  "RedirectionURL": "https://yoururl.com/Redirect/",
  "CallBackURL": "https://yoururl.com/Listener",
  "IsTest": "True"
}

Payment Methods

Deposit

Country

Currency

PaymentMethod

Brazil

BRL

PIX

Mexico

MXN

BANKTRANSFER

Peru

PEN

BANKTRANSFER, CIP, QR

Colombia

COP

PSE, BANKTRANSFER

Chile

CLP

BANKTRANSFER

Argentina

ARS

BANKTRANSFER

Payout

Country

Currency

PaymentMethod

Brazil

BRL

PIX

Mexico

MXN

BANKTRANSFER

Peru

PEN

BANKTRANSFER

Colombia

COP

BANKTRANSFER

Chile

CLP

BANKTRANSFER

Argentina

ARS

BANKTRANSFER