Charge HPP Transaction
Processing transaction from the debit/credit card.
Some card required address verification (USA Card), and other card card required 3D secure (VISA).
For card that required address verification, use Validation endpoint to confirm, while card required 3D secure use the link return in api response to confirm the card token from your browser and after confirm use validation endpoint to verify the transaction.
Charge Card
POST
https://mekacash.co.uk/api/charge
Headers
Content-Type *
application/json
Authorization *
Bearer <SECRET KEY>
Request Body
firstname *
string
true
first name
lastname *
string
true
last name
email *
string
true
phone *
string
true
phone
country *
string
true
country code (US)
state *
string
true
state
city *
string
true
city
address *
string
true
address
zip_code *
string
true
portal code
currency *
string
true
currency code (USD/EUR)
amount *
decimal
true
amount
ip_address *
string
true
ip address
reference *
string
true
transaction reference
callback_url *
string
true
callback url
Response
{
"status" : "success",
"message" : "success",
"data" : {
"reference" : "abssjsu222",
"orderid" : "1282827",
"link" : "https://mekacash.co.uk/api/checkout/a292929acvvb"
}
}
Last updated