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>",
  "currency": "USD",
  "customer": {
    "id": "<string>"
  },
  "checksum": "<string>"
}'
{
  "cardPaymentLink": "<string>",
  "clientId": "<string>"
}

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
  • Body With Customer ID
  • Body With Customer Details
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

I