cURL
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>" } }
Retrieve the public encryption key for securing sensitive card data during transmission.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Your Payvessel public API key
Request status
Response message
Show child attributes
Public key retrieved successfully