Request Virtual Card Limit Change Approval

requestVirtualCardLimitChange

Submit a manager approval request to change a virtual card spend limit. When approved, Fluz updates the card limit.

Scopes

ActionScope
Create requestREQUEST_VIRTUAL_CARD_LIMIT_CHANGE
List requestsLIST_APPROVALS
Approve or declineMANAGE_APPROVALS

Webhook Identifiers

FieldValue
approvalTypeVIRTUAL_CARD
approvalCode600002

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

Create a Request

RequestVirtualCardLimitChangeInput

FieldTypeRequiredDescription
virtualCardIdUUIDYesID of the virtual card to update
spendLimitFloatYesNew spend limit. Must be greater than zero
limitDurationVirtualCardSpendLimitDurationYesLimit duration: DAILY, WEEKLY, MONTHLY, ANNUAL, or LIFETIME

Sample Mutation

mutation {
  requestVirtualCardLimitChange(
    input: {
      virtualCardId: "07df5653-43a8-4532-9881-3ab5857bbe11"
      spendLimit: 500.00
      limitDuration: MONTHLY
    }
  ) {
    success
    messageId
    error {
      code
      message
    }
  }
}

Sample Response

{
  "data": {
    "requestVirtualCardLimitChange": {
      "success": true,
      "messageId": "1234567890"
    }
  }
}

Approve a Request

Call approveApprovalRequest with the approvalId. Requires MANAGE_APPROVALS.

mutation {
  approveApprovalRequest(approvalId: "07df5653-43a8-4532-9881-3ab5857bbe12") {
    success
    approvalId
    action
  }
}

On approval, Fluz updates the virtual card spend limit.

Decline a Request

Call declineApprovalRequest with the approvalId. Requires MANAGE_APPROVALS.

mutation {
  declineApprovalRequest(approvalId: "07df5653-43a8-4532-9881-3ab5857bbe12") {
    success
    approvalId
    action
  }
}

No limit change is applied when a request is declined.