Prerequisites
- A PapelShip account with at least one store
- An API key (
psa_...), its numeric API Key ID, and your 12-character Store Hash ID
1
Create a payment link
Send the order amount to the payment links endpoint. Add an
Idempotency-Key header so retries never create duplicate invoices.2
Redirect your customer
The response contains a Store
checkout_url. Send your customer there to pay by card, Papara, bank transfer, or crypto.Response
invoice.id with your order. You need it to check the payment.3
Confirm the payment
When the customer returns to your Fulfill the order only when
redirect_url, verify the payment on your server. Never trust the redirect alone.payment.is_paid is true.Next steps
Crypto invoices
Show your own checkout with a dedicated deposit address and QR code.
API Store reference
Explore every endpoint, parameter, and response.