FLEXEPIN

Prev Next

Supported Transaction Types

  • Authorisation

  • Capture

  • Purchase

  • Refund

  • Withdrawal

  • Void

Integrations Supported

Deposit

  • Hosted Payment Page

  • Direct Connect ( server-to-server)

Withdrawal

  • Hosted Payment Page

  • Direct Connect ( server-to-server)

Additional attributes to process Flexepin

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

Description

Hosted Payment Page

Direct Connect (Withdrawals)

Transaction type

"TransactionType": "PURC",

"TransactionType": "ORIGINALCREDIT",

Client

 "Client": {

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

   "FirstName": "John",

   "LastName": "Doe",

   "Country": "NGA",

   "MobileNo": "10449262289",

   "Street": "Street Name, 1",

   "City": "London",

   "IPAddress": "127.0.0.1"

 },

 "Client": {

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

   "FirstName": "John",

   "LastName": "Doe",

   "Country": "NGA",

   "MobileNo": "10449262289",

   "Street": "Street Name, 1",

   "City": "London",

   "IPAddress": "127.0.0.1"

 },

Force Transaction Routing

"Routing": {

"ForcePayment": "FLEXEPIN"

},

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": "250",
  "Currency": "CAD",
  "OrderReference": "flexepinMerchantOrder1",
  "RedirectionURL": "https://google.com/Redirect/",
  "CallBackURL": "https://google.com/Listener",
  "Routing": {
    "ForcePayment": "FLEXEPIN"
  },
  "IsTest": "True",
  "Client": {
    "Email": "testing@swiffy.com",
    "clientAccount": "testing",
    "firstName": "Joe",
    "lastName": "Bloggs",
    "country": "MLT",
    "mobileNo": "00441234567",
    "street": "High Street",
    "city": "MagicCity",
    "ZIPCode": "BGGC1234",
    "state": "UK",
    "dateOfBirth": "1977-12-31",
    "IPAddress": "159.20.26.60"
  },
  "Configuration": {
    "Profile": "showandedit"
  }
}

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",
  "Currency": "CAD",
  "Amount": "1",
  "OrderReference": "Test",
  "RedirectionURL": "https://api.dev.apspglobal.com/technicalsupporttool-fe/Redirect/",
  "CallBackURL": "https://api.dev.apspglobal.com/technicalsupporttool-fe/Listener",
  "Client": {
    "Email": "testing@flexepin.com",
    "clientAccount": "testing",
    "firstName": "Joe",
    "lastName": "Bloggs",
    "country": "MLT",
    "mobileNo": "00441234567",
    "street": "High Street",
    "city": "MagicCity",
    "ZIPCode": "BGGC1234",
    "state": "UK",
    "dateOfBirth": "1977-12-31",
    "IPAddress": "127.0.0.1"
  },
  "Routing": {
    "ForcePayment": "FLEXEPIN"
  },
  "PaymentMethodData": {
    "FlexepinVoucherQuantity": "1",
    "VoucherCode": "FLEXCAD001"
  },
  "IsTest": "True", 
  }
}