Step 1: Get your API Keys
Register or log into your Senda Merchant Dashboard and copy your publishable and secret keys under the developers section:- Publishable Key (
pk_test_...): Used in client-side checkout engines likesenda-js. - Secret Key (
sk_test_...): Keep this secure. Use this in your server-side API integrations.
Step 2: Create a Payment Intent
From your backend, make a secure POST request to create aPaymentIntent. This registers an in-flight payment attempt.
PaymentIntent object containing a unique id and a client_secret.
