Summary
🚀 Hosted Sessions Listing API: Added a new read endpoint to list hosted payment sessions for a customer, including idempotency lookup by client_reference_id.
New Features
Hosted Experience Sessions
- New endpoint:
GET /v1/customers/{customer_id}/sessions - Primary idempotent lookup flow:
GET /v1/customers/{customer_id}/sessions?client_reference_id={ref} - Supports pagination using
pageandlimit - Response includes
sessionsandmetawith pagination fields (page,limit,total_records,total_pages) - Session records include fields such as:
session_idclient_reference_idclient_customer_refcustomer_idcreated_atsession_expires_atlatest_statushas_paymentandpayment_id(when available)
Documentation Updates
- Updated the payment reconciliation guide to include a retry recovery pattern:
- If session creation response is lost or a retry occurs, first query sessions by
client_reference_idfor the samecustomer_idto fetch the existing session and avoid duplicate creation.
- If session creation response is lost or a retry occurs, first query sessions by