Skip to main content

4. The Retailer store verifies the validity of the notification received.

payments/get/<payment_id>

Once the store has received a notification of a change in payment status, it needs to verify the validity of that notification through the Processing Service, by making the following request:

POST https://<HOSTNAME>/api/v1/payments/get/<payment_id>
Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l

If all is well, the Processing Service returns an identical payment object:

{
"id": "23d93cac-000f-5000-8000-126628f15141",
"status": "paid",
"shop_order_id": "208843-42-23-842",
"amount": "100.00",
"currency": "EUR",
"description": "Order #208843-42-23-842",
"created_at": "2019-01-22T14:30:45-03:00",
"expires": "2020-02-22T00:00:00-00:00"
}