Declared Stock cancellation flow guide
Example: Cancellation after provision
- Order is placed,
RESERVATION
callback sent from Eneba - Payment is successful,
PROVISION
callback sent from Eneba - Order fails (e.g. another merchant failed to provision) -
CANCELLATION
callback sent from Eneba- If you registered a Cancellation API Callback via
P_registerCallback
and respond 200 to ourCANCELLATION
callback the key is deleted and never returns to Eneba stock - If no Cancellation API Callback is registered or respond 500 to our
CANCELLATION
callback the key returns to Eneba stock
- If you registered a Cancellation API Callback via
It is recommended that you use
P_registerCallback
to get CANCELLATION
requests, otherwise they will not be sent from Eneba
Example: Cancellation before provision
- Order is placed -
RESERVATION
callback sent from Eneba - Order is cancelled -
CANCELLATION
callback sent from Eneba, example reason: payment declined
No keys to return in this example, they were never provided
Example: Buyer returns undisplayed keys
- Order is placed, and correctly fulfilled, customer received their keys
- Customer returns the undisplayed keys and receives a refund
- Keys are returned to Eneba stock ready to be sold again. No
CANCELLATION
callback sent from Eneba