Skip to main content
POST
/
pms
/
checkout
/
card-payment
/
validate-pin
Validate PIN
curl --request POST \
  --url http://sandbox.mintlify.com/pms/checkout/card-payment/validate-pin/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --header 'api-key: <api-key>' \
  --header 'api-secret: <api-secret>' \
  --data '
{
  "reference": "<string>",
  "pin": "<string>"
}
'
{
  "status": true,
  "message": "<string>",
  "data": {
    "transaction_id": "<string>",
    "status": "<string>",
    "message": "<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

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
reference
string
required

Transaction reference

pin
string
required

Customer card PIN

Response

200 - application/json

PIN validated successfully

status
boolean

Validation status

message
string

Validation result message

data
object