Retrieve the status and details of a payment by Stripe payment intent ID
Retrieves the purchase record and status for a specific Stripe payment intent. This endpoint is used to check whether a payment has been completed, is still pending, has failed, or has been refunded.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/PhemiT/vaniykeempire-api/llms.txt
Use this file to discover all available pages before exploring further.
pi_). This is returned when creating a payment intent or can be obtained from Stripe webhooks.| Status | Description |
|---|---|
pending | Payment intent created, waiting for payment completion |
completed | Payment successfully processed by Stripe |
failed | Payment failed (card declined, insufficient funds, etc.) |
refunded | Payment was refunded by an administrator |
| Status Code | Description |
|---|---|
| 200 | Payment status retrieved successfully |
| 401 | Not authenticated |
| 404 | Payment intent not found or doesn’t belong to user |
| 500 | Server error |
paymentIntentId and authenticated userIdtitle, description, type, and thumbnailUrl fieldssrc/controllers/paymentController.js:133-151