Card Payments

Card Payment Processor

post

This endpoint initiates a card payment transaction. Encrypted card_hash has the following JSON fields:

  • card_type: Type of card (e.g., MASTER, VISA, etc.)
  • cardname: Cardholder Name
  • card_number: Card Digits
  • card_cvv: Card CVV or CVV2
  • expiry_month: Card Expiry Month
  • expiry_year: Card Expiry Year
  • token: Card token from previous transaction response (if provided, leave card details empty)

Card AES (CBC Mode) Encryption Formula: Base64Encode(AESEncrypt(card_json_data, 'secret', 'key')) (e.g., Output: NVlTU29VRUlPeUc2ZGc3cFlzTHpzb2hXZXN1U3RjYUlTd2w4cXhRMVkyWT0=)

Body
merchant_idstringOptional

Merchant platform no.

tranxRefstringOptional

Merchant transaction reference

amountnumber · decimalOptional

Transaction amount in decimal value (e.g: 5000.00)

currencystringOptional

Transaction currency example (e.g: GBP)

billing_countrystring · nullableOptional

Customer country ISO-2 code for new customer

billing_addressstring · nullableOptional

Customer address for new customer

billing_statestring · nullableOptional

Customer state for new customer

billing_citystring · nullableOptional

Customer city for new customer

billing_zipcodestring · nullableOptional

Customer zip code for new customer

redirect_urlstringOptional

Merchant platform redirect url after 3D authentication. is completed by the customer

ipstringOptional

Customer IP address, must be unique per customer transaction.

card_hashstringOptional

Encrypted customer card information.

customerone ofOptional

Customer Data

Responses
chevron-right
200

Response.

application/json
post
/api/v1/payment/card-processor

Transaction Status Query

get

This is the transaction status after processing:

Pending | Failed | Successful

Pending_Refund | Refunded | Chargeback

Pending_Cancel | Cancelled

Query parameters
MerchantRefstring · nullableOptional

Merchant Reference.

TransactionRefstring · nullableOptional

Transaction Reference.

Responses
chevron-right
200

Response.

application/json
get
/api/v1/payment/query-status

Transaction Full Details

get

This endpoint fetch full transaction details with customer information

Path parameters
transactionidstring · guidRequired
Responses
chevron-right
200

Response.

application/json
get
/api/v1/payment/{transactionid}/details
get

Search transactions using available filters.

Body
and
Responses
chevron-right
200

Response.

application/json
get
/api/v1/payment/search

Last updated