Get status of an in-store payment
To find out and monitor the status of an in-store payment, you have two ways:
- Subscribe to our Server-side Callback by specifying the URL we should call in “completedNotificationUrl” in Initialize Payment
- Poll for status
Server-side Callback
We strongly recommend you to use the Server-side Callback in order to get notified when a payment is completed in the checkout. When you receive the callback, immediately call for status of the payment from Payment Status endpoint. See “Poll for status” below.
Poll for status
You can poll our in-store API to get information about the session. When purchase is completed in checkout you’ll get all information you need from the Payment Status response.
# Get payment status
GET {api_url}/api/instore/partner/{purchaseId}
Content-type: application/json
Authorization: Bearer {partner_access_token}
Return value