Skip to main content
GET
/
pms
/
checkout
/
card-payment
/
public-key
Get Public Key
curl --request GET \
  --url http://sandbox.mintlify.com/pms/checkout/card-payment/public-key/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "cardData": "encrypted_card_data_string",
  "key": "encryption_key_string",
  "reference": "txn_12345"
}
'
{
  "status": true,
  "message": "<string>",
  "data": {
    "public_key": "<string>"
  }
}

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

Body

application/json
status
boolean

Request status

message
string

Response message

data
object

Response

200 - application/json

Public key retrieved successfully

status
boolean

Request status

message
string

Response message

data
object