This is what gives you the payment URL that you’re user will use to pay for a service, that payment will then be onramped and sent to your account. You need to add Bearer auth token that has your private key from the platform
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The token you want to receive
KESy_TESTNET The amount of money you want user to pay
1 <= x <= 500000The user's email, where they'll be sent payment notification
The currency that user is paying in
KES Optional callback URL that you want user to be redirected to after completing payment
The payment channel you want user to use
card, bank, ussd, qr, mobile_money, bank_transfer, eft, apple_pay, payattitude