Direct card payment
A direct card payment is a payment transaction in which your customer has authorized you to take money from their card using their full card details. However, the Card details are sent as an encrypted string.
Posting a direct card request is the same as posting a card payment however theencrypted_card parameter will have to be specified. By providing this field, kitegateway will know that the transaction is a direct card payment.
Providing encrypted_card
encrypted_card Encryption
1. Create JSON of the Card details
{
"full_name": "Nakimbugwe Racheal",
"card_number": "012345666777888999",
"expiry_month": "02",
"expiry_year": "24",
"cvv": "111",
"billing_address": "Some Street",
"billing_city": "Some City",
"billing_zip": "88653",
"billing_state": "JK",
"billing_country": "UK"
}Parameter
Type
Description
Required
full_name
string
The full name of the card holder as registered by the card issuer
YES
card_number
string
The card number. Usually the length of 16 to 19
YES
expiry_month
string
Card expiry month. For single digit months, prefix 0 e.g. 06
YES
expiry_year
string
Card expiry year
YES
cvv
string
The card CVV, CVC, etc depending on the nature of the card
YES
billing_address
string
Billing address as registered by the card issuer.
YES
billing_city
string
Billing city name as registered by the issuer.
YES
billing_zip
string
The zip/postal code.
YES
billing_state
string
State name.
YES
billing_country
string
The 2 character ISO country code. The country code list can be obtained using the API description that follows
YES
2. Downloading Public Key
3.Encryption Card
4. Set card_cipher parameter
From the step above, the resultant string after encryption is what we need to set as the encrypted_card and include it in the Post Collection Request when making a Card Collection Request
Last updated