Decta - Card Processing

Prev Next

Supported Transaction Types

  • Authorisation AUTH

  • Capture CAPT

  • Purchase PURC

  • Refund PARTIALREFUND

  • Void GENERALVOID  

  • Payouts ORIGINALCREDIT

  • Recurring AUTH / PURC

Integrations Supported

Deposit - Authorisation / Purchase

Capture, Void, Refunds, Payouts, Recurring

Supported Wallet

  • GooglePay

  • Applepay

Additional attributes to process Deposits

You must include the following JSON Attributes to the payload. These attributes inform us to proceed with the redirection to DECTA to finalize the payment process.

If you are using our Hosted Payment Page

Description

Hosted Payment Page

Force Transaction Routing

"Routing": {

   "ForceBank": "DECTA"

 }

Client Details

"Client": {

   "FirstName": "Test",

   "LastName": "Test",

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

   "City": "Marsa",

   "ZIPCode": "MRS3000",

   "Country": "MLT",

   "State": "Rabat",

   "MobileNo": "+20100000000",

   "IPAddress": "192.168.0.1"

 }

Test Indicator

"isTest”: true

Sample requests using our Hosted Payment Page can be viewed here.

{
  "TransactionType": "PURC",
  "Amount": 5,
  "Currency": "EUR",
  "IsTest": true,
  "OrderReference": "order123",
  "RedirectionURL": "https://www.yourURLhere.com/Redirect/",
  "CallBackURL": "https://www.yourURLhere.com/Listener",
  "Client": {
    "FirstName": "Test",
    "LastName": "Test",
    "Email": "apcotest@apcopay.com",
    "City": "Marsa",
    "ZIPCode": "MRS3000",
    "Country": "MLT",
    "State": "Rabat",
    "MobileNo": "+20100000000",
    "IPAddress": "192.168.0.1"
  },
  "Routing": {
    "ForceBank": "DECTA"
  }
}

If you are using our direct connect solution (server-to-server)

Description

Direct Connect

Force Transaction Routing

"Routing": {

   "ForceBank": "DECTA"

Client Details

"Client": {

   "FirstName": "Apco",

   "LastName": "Test",

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

   "City": "Marsa",

   "IPAddress": "192.168.0.1"

 }

Card Details

"PaymentCredentials": {

   "PaymentSource": "Card",

   "CardType": "VISA",

   "CardNumber": "4242424242424242",

   "CardHolderName": "Frictionless Processed",

   "ExpMonth": "12",

   "ExpYear": "2030",

   "CvV2": "666"

 }

Browser details

"BrowserDetails": {

"UserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36",

"JavaEnabled": true,

"ScreenColorDepth": "1",

"ScreenWidth": "1080",

"ScreenHeight": "840",

"TimeZone": "2",

"AcceptHeader": "application/json",

"BrowserLanguage": "en"

}

Test Indicator

"isTest”: true

Sample requests using Direct Connect can be viewed here.

 {
  "TransactionType": "PURC",
  "Amount": 5,
  "Currency": "EUR",
  "IsTest": true,
  "OrderReference": "order1234",
  "RedirectionURL": "https://www.yourURLhere.com/Redirect/",
  "CallBackURL": "https://www.yourURLhere.com/Listener",
  "PaymentCredentials": {
    "PaymentSource": "Card",
    "CardType": "VISA",
    "CardNumber": "4111111111111111",
    "CardHolderName": "John doe",
    "ExpMonth": "12",
    "ExpYear": "2030",
    "CvV2": "010"
  },
  "Client": {
    "FirstName": "Apco",
    "LastName": "Test",
    "Email": "apcotest@test.com",
    "City": "Marsa",
    "IPAddress": "192.168.0.1"
  },
  "BrowserDetails": {
    "UserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36",
    "JavaEnabled": true,
    "ScreenColorDepth": "1",
    "ScreenWidth": "1080",
    "ScreenHeight": "840",
    "TimeZone": "2",
    "AcceptHeader": "application/json",
    "BrowserLanguage": "en"
  },
  "Routing": {
    "ForceBank": "DECTA"
  }
}

Requesting a Capture

If you wish to Capture a transaction of type AuthorisationBelow are the mandatory fields.

Description

Direct Connect

Transaction Reference

"PspID": "1041608”

sample request for processing a capture request.

{
"TransactionType": "CAPT",
"Amount": 1,
"CallBackURL": "https://www.yourURLhere.com/Listener",
"IsTest": true,
"UniqueReference": "6514441d-8abe-4d7b-9e0c-3aa386333b34",
"PspID":1041608 
}

Test Credentials

Test Card details below. You must use a future expiry date and use “Frictionless Processed” as the cardholder name, for more test information on different card use cases here.