POST
/
payments
/
initiate-card-payment
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>"
}

Authorizations

Authorization
string
header
required

Authorization header in the form of Bearer <token>, where <token> is a valid JWT from generate token endpoint

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

200
application/json
Initiate Card response

A link for a customer to complete payment