Skip to main content
POST
/
payments
/
initiate-card-payment
cURL
curl --request POST \
  --url https://api.clickpesa.com/third-parties/payments/initiate-card-payment \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": "<string>",
  "orderReference": "<string>",
  "customer": {
    "id": "<string>"
  },
  "checksum": "<string>"
}
'
{
  "cardPaymentLink": "<string>",
  "clientId": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.clickpesa.com/llms.txt

Use this file to discover all available pages before exploring further.

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

orderReference
string
required

Your unique Order reference

currency
enum<string>
required
Available options:
USD
customer
object
required

Customer

checksum
string

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

Response

Initiate Card response

A link for a customer to complete payment

clientId
string

Application Client ID associated with the payment