Payments
/Get Payment Intent Status
Get Payment Intent Status
https://api.vivamo.co/v1/payment-intents/{paymentIntentId}/status
Retrieve the current status of a payment intent by paymentIntentId. Returns the overall intent status and an array of individual payment attempts.
The overall status is derived from the attempts — success if any succeeded, else pending if any is in flight, else failed. A failed attempt is reported as pending while the intent's 2-hour window is still open, because the customer can still retry within it. The window never overrides the status of an attempt once made: a payment that settles after it still reports success.
no-payment means no attempt has been made and the window is still open. expired means the window closed with no attempt ever made.
Path parameters
paymentIntentIdstringRequired
The Vivamo payment intent ID returned when the intent was created.
Response
Payment intent status.
statusstringno-paymentstringexpiredstringpendingstringsuccessstringfailedstringpaymentsarray of objectidstringstatusstringpendingstringsuccessstringfailedstringsubStatusstringcreatedAtstringtypestringcardstringbankstringpay_by_bankstringcryptostring
Overall intent status.
An individual payment attempt within a payment intent.
Unique payment ID.
Payment status.
Additional detail when the payment has failed (e.g. `declined`, `error`).
Timestamp when the payment was created.
Payment method type used.
Built with