Retrieves the details of a payment session by its ID. This is the recommended way to check the final status of a payment after the customer is redirected back to your site.
success_url, retrieve the session to confirm the payment was actually completed.pending, completed, expired, cancelled).completed, this is the ID of the successful payment transaction.Success, Declined).The Session ID (e.g., sess_a1b2c3d4e5f6)
"sess_a1b2c3d4e5f6"
Session retrieved successfully
Unique session identifier
"cs_97_41521_d11ba771527b4056c7f85786cfbb980bc105efaf42af113d"
Redirect your customer to this URL to begin the payment
"https://stage-payflow.tonder.io/checkout/cs_97_41521_d11ba771527b4056c7f85786cfbb980bc105efaf42af113d"
Session status
pending, completed, expired "pending"
Associated payment ID
41521
Total amount to be charged
35000
Currency used
"MXN"
Expiration time (Unix timestamp in seconds)
1751564943
Order reference from the merchant
"ORD-12345"
Type of session
"payment"
Checkout method
"hosted"
Success redirect URL
Return/fallback redirect URL
Pending redirect URL
Custom data sent by the merchant
Allowed payment methods
["card"]UI configuration applied
Version of UI config
"V1"
Creation timestamp in milliseconds
1751478543567
Last modification timestamp in milliseconds
1751478543567
Payment completion timestamp in milliseconds
Result of transaction
Pending, Success, Declined, Expired "Pending"
Gateway used
"tonder"