curl --request POST \
--url https://api.clickpesa.com/third-parties/payments/preview-card-payment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "<string>",
"currency": "USD",
"orderReference": "<string>",
"checksum": "<string>"
}
'{
"activeMethods": [
{
"name": "<string>",
"status": "AVAILABLE",
"fee": 123,
"message": 123
}
]
}This endpoint validates card payment details like Amount, Order Reference and verifies Method availability
curl --request POST \
--url https://api.clickpesa.com/third-parties/payments/preview-card-payment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "<string>",
"currency": "USD",
"orderReference": "<string>",
"checksum": "<string>"
}
'{
"activeMethods": [
{
"name": "<string>",
"status": "AVAILABLE",
"fee": 123,
"message": 123
}
]
}Authorization header containing the JWT access token returned from the generate token endpoint. The token already includes the Bearer prefix. Example: Authorization: Bearer eyJhbGciOi...
Your payment amount
USD Your unique Order reference
If enabled, this is the generated checksum of the payload. Refer to the documentation for more details.
Preview Card response
Show child attributes