Skip to main content
requestGiftCardPurchase Submit a manager approval request to purchase a gift card. When approved, Fluz completes the purchase using the submitted parameters.

Scopes

Webhook Identifiers

Webhook events: APPROVAL_CREATE, APPROVAL_APPROVE, APPROVAL_DECLINE, and APPROVAL_HANDLER_ERROR on execution failure.

Create a Request

Input fields mirror the direct purchaseGiftCard mutation. See Purchase Gift Card for offer and funding source details.

RequestGiftCardPurchaseInput

Sample Mutation

Sample Response

Approve a Request

Call approveApprovalRequest with the approvalId. Requires MANAGE_APPROVALS.
On approval, Fluz purchases the gift card.

Decline a Request

Call declineApprovalRequest with the approvalId. Requires MANAGE_APPROVALS.
No gift card is purchased when a request is declined.