Card Payments
Accept Visa and Mastercard through a Stakaba-hosted, PCI-DSS certified checkout page. Your server creates the payment and gets back a checkoutUrl — redirect the customer there to enter their card details.
How it works
- Your server calls
POST /api/v1/payments/card - Stakaba creates a pending transaction and returns a
checkoutUrl - You redirect the customer to
checkoutUrl - The customer enters their card on the hosted page
- Stakaba sends a webhook to your
notifyUrlwhen the payment settles - The customer is redirected back to your
returnUrl
Create a card payment
Response:
Redirect the customer to checkoutUrl immediately.
Parameters
Checking payment status
Use the internalReference to look up the transaction:
Or receive it automatically via webhook.
Supported cards
Visa and Mastercard. The checkout page is PCI-DSS Level 1 compliant — Stakaba never stores raw card numbers.
