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 secure_url return in api response to confirm the card token from your browser and after confirm use validation endpoint to verify the transaction.
The transaction reference is returned into your callback-url in field "id"
POST
https://mekapaygroup.tech/api/charge
Enter the card details
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
authorization*
String
Bearer YOUR_SECRET_KEY
content-type *
String
application/json
currency*
String
currency - USD/KES/AUD/EUR/GBP
email*
String
customer's email
ip_address*
String
ip address
callback_url*
String
callback url with GET method
amount*
String
amount
country*
String
country code
firstname*
String
first name
phone*
String
phone
cardNumber*
String
card number
cardCVV*
String
card cvv
expMonth*
String
expiry month
expYear*
String
expiry year
state*
String
state name
city*
String
city
address*
String
address
zip_code*
String
zip code
lastname*
String
last name
cardName*
String
card holder name