Declared Stock cancellation flow guide
Example: Cancellation after provision
- Order is placed,
RESERVATIONcallback sent from Eneba - Payment is successful,
PROVISIONcallback sent from Eneba - Order fails (e.g. another merchant failed to provision) -
CANCELLATIONcallback sent from Eneba- If you registered a Cancellation API Callback via
P_registerCallbackand respond 200 to ourCANCELLATIONcallback the key is deleted and never returns to Eneba stock - If no Cancellation API Callback is registered or respond 500 to our
CANCELLATIONcallback 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 -
RESERVATIONcallback sent from Eneba - Order is cancelled -
CANCELLATIONcallback 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
CANCELLATIONcallback sent from Eneba