POST /payment_intents from your server with the payment details.{
"id": "pi_1234567890",
"status": "requires_payment_method",
"nextAction": {
"type": "redirect",
"redirect": {
"url" : ""https://cashier.useepay.com/pay?token=xxx"
}
},
"clientSecret": "pi_1234567890_secret_xxx",
"amount": 1000,
"currency": "USD"
}cashierUrl returned in the PaymentIntent response.returnUrl with the result appended as query parameters.https://yoursite.com/payment/result?payment_intent=pi_1234567890&redirect_status=succeeded| Parameter | Value | Description |
|---|---|---|
payment_intent | pi_xxx | PaymentIntent ID |
redirect_status | succeeded / failed / canceled | Payment outcome |
⚠️ Do not rely solely on the redirect to confirm payment. Always verify the final status server-side via Webhook or by querying the PaymentIntent.
| Event | Description |
|---|---|
payment_intent.succeeded | Payment completed successfully |
payment_intent.payment_failed | Payment failed |
payment_intent.requires_capture | Auth succeeded, awaiting capture (manual mode) |
payment_intent.canceled | Payment canceled |
{
"event": "payment_intent.succeeded",
"data": {
"id": "pi_1234567890",
"status": "succeeded",
"amount": 1000,
"currency": "USD",
"merchantOrderId": "ORDER_20240101_001"
}
}captureMethod: "manual" to authorize the card without charging. Capture later when you are ready to fulfill the order.The authorization hold expires if not captured within the allowed window. Capture as soon as you confirm fulfillment.
requires_payment_method
│
▼
requires_confirmation
│
▼
requires_action ──── (3DS / wallet auth) ────┐
│ │
▼ │
requires_capture (manual mode) │
│ │
▼ │
succeeded ◄────────────────────────────────┘
canceled / failed (terminal states)| Payment Method | Type | Regions |
|---|---|---|
| Credit / Debit Card | Card | Global |
| Apple Pay | Wallet | iOS / macOS Safari |
| Google Pay | Wallet | Android / Chrome |
| Klarna | BNPL | EU, US, AU |
| Affirm | BNPL | US |
| Naver Pay | Local wallet | South Korea |
| Kakao Pay | Local wallet | South Korea |
| Toss Pay | Local wallet | South Korea |
| Payco | Local wallet | South Korea |
| Blik | Local payment | Poland |
| Trustly | Bank transfer | EU |
| CashApp | Wallet | US |
| Pay with Link | Saved cards | Global |
POST /payment_intents from your server (never from the browser)cashierUrlreturnUrl handler to show result page