Retrieve a Payment Intent
Retrieves an existing Payment Intent by ID.
Use this endpoint to inspect the current payment status, determine whether customer action is required, or fetch the latest capture and refund-related fields before updating your own order state.
You can also search and review payments in the Merchant Dashboard.
Related guide: Checkout Experience
Path Parameters
- Type: stringidmax length:200required
Query Parameters
- Type: array string[]expand
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/v1/payment_intents/{id}
curl 'https://api.paypercut.io/v1/payment_intents/{id}?expand=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"amount": 100,
"capture_method": "automatic",
"on_behalf_of": "string",
"statement_descriptor": null,
"setup_future_usage": "off_session",
"payment_method": "01K688H80Z3199KETHDJ4ZAFPS",
"customer": {
"email": null,
"name": null,
"phone": null,
"preferred_locales": [
"string"
],
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"invoice_settings": {
"default_payment_method": "01K688H80Z3199KETHDJ4ZAFPS"
},
"created": "2026-05-21T04:57:41.196Z",
"livemode": true,
"id": "string"
},
"id": "21210021c2855007efa2d657018",
"amount_capturable": 100,
"amount_received": 100,
"currency": {
"iso": "usd",
"scale": 2
},
"status": "canceled",
"created": "2026-05-21T04:57:41.196Z",
"livemode": true,
"next_action": {
"redirect_to_url": {
"return_url": null,
"url": null
},
"type": "string",
"three_d_secure": {
"flow": "frictionless",
"status_url": "https://api.yourco.com/v1/payment_intents/pi_123",
"return_url": null,
"message": {
"allowed_origins": [
"https://merchant.example.com"
]
},
"hint": {
"scheme": "visa",
"version": "2.2.0"
},
"idempotency_key": "string"
}
},
"latest_payment": "01K755J9SV2364REVHB915Z2FW",
"cancellation_reason": "abandoned",
"canceled_at": null
}
