Skip to main content
POST
/
payments
/
preview-card-payment
cURL
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
    }
  ]
}

Authorizations

Authorization
string
header
required

Authorization header containing the JWT access token returned from the generate token endpoint. The token already includes the Bearer prefix. Example: Authorization: Bearer eyJhbGciOi...

Body

application/json
amount
string
required

Your payment amount

currency
enum<string>
required
Available options:
USD
orderReference
string
required

Your unique Order reference

checksum
string

If enabled, this is the generated checksum of the payload. Refer to the documentation for more details.

Response

Preview Card response

activeMethods
object[]
I