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>" }
Authorization header containing the JWT access token returned from the generate token endpoint. The token already includes the Bearer prefix. Example: Authorization: Bearer eyJhbGciOi...
Authorization: Bearer eyJhbGciOi...
Initiate Card response
The response is of type object.
object