Order
1. Place Order
- Endpoint:
/v1/partners/orders
- Description: API to generate voucher.
- If vouchers are successfully generated, the status will be
SUCCESS
and the vouchers list will contain voucher data. - If status is
PROCESSING
the voucher generation is taking time and the status can be polled by the client / hubble can intimate the client using the Order reached terminal state - Webhook. - In case of status
PROCESSING
voucher list will be empty.
- If vouchers are successfully generated, the status will be
- Method: POST
Request Body
Response body
2. Get Order Details
- Endpoint:
/v1/partners/orders/:orderId
OR/ /v1/partners/orders/by-reference/:referenceId
- Description: Get the order details based on order ID or reference ID
- Method: GET
Response Body
3. Get Voucher Details
- Endpoint:
/v1/partners/orders/vouchers/:id
- Description: Get details of individual voucher.
- Method: GET