POST

Initialize Hosted Payment

Start a hosted checkout. Returns checkout_url; its last segment is the payment reference.

/v2/payments/hosted

Request

POSThttps://api.chapa.global/v2/payments/hosted

Reuse this key for retries. Clear it for a new operation.

Request Body

Start a hosted checkout. Returns checkout_url; its last segment is the payment reference. Required: amount (cents, min 100), currency Optional: merchant_reference (max 20), preferred_payment_methods[], customer{first_name,last_name,email,phone_number,card_number}, callback_url (https), return_url (https), subaccounts[], meta{}, customization{title,description,logo} Split example: next request.

Response

Response will appear here