Skip to main content
POST
/
pms
/
checkout
/
card-payment
/
charge
Card Payment Charge
curl --request POST \
  --url http://sandbox.mintlify.com/pms/checkout/card-payment/charge/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --header 'api-key: <api-key>' \
  --header 'api-secret: <api-secret>' \
  --data '
{
  "cardData": "encrypted_card_data_string",
  "key": "encryption_key_string",
  "reference": "txn_12345"
}
'
{
  "status": true,
  "message": "<string>",
  "data": {
    "reference": "<string>",
    "status": "<string>",
    "message": "<string>",
    "amount": 123,
    "currency": "<string>",
    "redirect_url": "<string>",
    "gateway_response": {}
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

api-key
string
required

Your Payvessel public API key

api-secret
string
required

Bearer token with your Payvessel secret

Content-Type
enum<string>
required

Request content type

Available options:
application/json

Body

application/json
cardData
string
required

Encrypted card data containing payment information

key
string
required

Encryption key for the card data

reference
string
required

Unique transaction reference

Response

Card charge initiated successfully

status
boolean

Transaction initiation status

message
string

Response message

data
object