- 19 Feb 2025
- 1 Minute to read
- Print
- DarkLight
Mpay Card Processing
- Updated on 19 Feb 2025
- 1 Minute to read
- Print
- DarkLight
Supported Transaction Types
Authorisation
AUTH
Capture
CAPT
Purchase
PURC
Refund
PARTIALREFUND
Void
GENERALVOID
Payouts
ORIGINALCREDIT
Recurring
AUTH
/PURC
Integrations Supported
Hosted Payment Page
Direct Connect ( server-to-server)
Currencies & Countries Supported
Title | Description |
---|---|
Currencies Supported | TRY |
Countries Supported |
|
Additional attributes to process Mpay Cards
You must include the following JSON Attributes to the payload. These attributes inform us to proceed with the redirection to Mpay to finalize the payment process.
if you are using our Hosted Payment Page
Description | Hosted Payment Page |
---|---|
Force Transaction Routing | “Routing”:{ "ForceBank": "MPAY” } |
Client Details | "Client": { "FirstName": "Apco", "LastName": "Test", "Email": "test@gmail.com", "City": "Valletta", "IPAddress": "214.21.134.79" } |
Test Indicator | "isTest”: true |
Sample requests using our Hosted Payment Page can be viewed below:
{
"TransactionType": "PURC",
"Amount": 150,
"Currency": "TRY",
"OrderReference": "MPAY TEST",
"RedirectionURL": "https://yourURLhere.com/Redirect/",
"CallBackURL": "https://yourURLhere.com/Listener",
"FailRedirectionURL": "https://yourURLhere.com/FailRedirect/",
"IsTest": true,
"UniqueReference": "4b8da4f0-d3b4-44ae-8019-8c66905ffad7",
"Routing": {
"ForceBank": "MPAY"
},
"Client": {
"FirstName": "Apco",
"LastName": "Test",
"ClientAccount": "APCOPAY TEST",
"Email": "johndoe@mail.com",
"City": "Valletta",
"IPAddress": "214.21.134.79"
}
}
If you are using our direct connect solution (server-to-server)
Description | Direct Connect |
---|---|
Transaction Type | "TransactionType": "AUTH" or "PURC" |
Force Transaction Routing | "Routing":{ "ForceBank": "MPAY” } |
Client Details | "Client": { "Email": "test@gmail.com", "FirstName": "Apco", "LastName": "Test", "ClientAccount": "testing", "City": "Virtu", "IPAddress": "1.1.1.1" } |
Card Details | "PaymentCredentials": { "PaymentSource": "Card", "CardType": "MASTERCARD", "CardNumber": "5351772561457936", "CvV2": "123", "ExpMonth": "02", "ExpYear": "2027", "CardHolderName": "Joe Smith" }, |
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 below.
{
"TransactionType": "PURC",
"Currency": "TRY",
"Amount": "150.00",
"OrderReference": "MPAY TEST",
"UniqueReference" : "7ed0363e-ae73-4564-a798-3e51379f863c",
"RedirectionURL": "https://www.yourURLhere.com/Redirect/",
"CallBackURL": "https://www.yourURLhere.com/callback",
"FailRedirectionURL": "https://www.yourURLhere.com/FailRedirect",
"IsTest": true,
"Routing": {
"ForceBank": "MPAY"
},
"Client" : {
"Email" : "testing@mpay.com",
"ClientAccount": "testing",
"FirstName": "Apco",
"LastName": "Test",
"City" : "Istanbul",
"IPAddress" : "214.21.134.79"
},
"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"
},
"PaymentCredentials" : {
"PaymentSource" : "Card",
"CardType" : "MASTERCARD",
"CardNumber": "5351772561457936",
"CvV2": "123",
"ExpMonth": "05",
"ExpYear": "2025",
"CardHolderName": "Frictionless Processed"
}
}
Test Credentials
Test Card
Details | |
---|---|
TR ID | 41545968462 |
DOB | 22.07.2001 |
Card No | 4230 9142 2895 2608 |
Exp Date | 02/29 |
CVV | 737 |