Payment Intents
Retrieve Payment Intent Status
Retrieve the compact status used by payment progress screens.
GET /api/v1/payment_intents/:id/status
curl https://api-prod.paybytoken.io/api/v1/payment_intents/pay_t24b28nbodnk4icGMyE7/status \
-H "Authorization: Bearer $PAYBYTOKEN_SECRET_KEY"Response
{
"status": "requires_confirmation",
"currency": "USDC",
"amount": "15.25",
"tx_hash": "0xabcd...",
"explorer_url": "https://sepolia.basescan.org/tx/0xabcd..."
}tx_hash and explorer_url are null before a qualifying transaction is detected.
Did this page answer your question?
Your feedback helps us improve the integration path.