Payments
Get Payment by ID
Learn how to fetch a specific payment using the endpoint GET /stores//payments/.
GET
Get payment by ID
๐ Endpoint
GET /stores/{storeId}/payments/{paymentId}
Returns a specific payment of the store with the products (id, name, price, image, description) and the payment metadata โ which stores the product snapshot (items[].product), quantity, billing cycle, and the applied coupon (items[].coupon) when present.
๐ Authentication
- Private route.
- Requires header
Authorizationwith your API key and active plan.
๐งพ Route parameters
โ Example request
๐ฆ Success response (200)
โ ๏ธ Possible errors
400 INVALID_DATAโ invalid parameters401 API_KEY_NOT_PROVIDEDโ missingAuthorizationheader401 INVALID_API_KEYโ invalid API key401 UNAUTHENTICATEDโ unauthenticated user403 USER_DISABLEDโ user disabled or deleted403 NO_ACTIVE_SUBSCRIPTIONโ inactive or expired plan404 STORE_NOT_FOUNDโ store not found404 PAYMENT_NOT_FOUNDโ payment not found429 RATE_LIMIT_EXCEEDEDโ plan per-minute rate limit exceeded503 SERVICE_UNAVAILABLEโ service temporarily unavailable