releaseReservation

This mutation allows the release of a reserved invoice.

🚧

Warning

This is applied only to the invoice which has "pending" status payment.

Sample mutation

Release a reserved invoice:

mutation{
  releaseReservation(invoiceID:"78be8874-179e-48bc-bc07-4ffb853868bb" orgID:"8fb128bd-f55d-4bcc-8b6c-0beb684e4d4e")
}

Sample response

{
  "data": {
    "releaseReservation": true
  }
}

Arguments

NameTypeDescription
invoiceIDStringRepresents the invoice ID.
orgIDStringRepresents the organization ID.

Returns

NameTypeDescription
N/ABooleanThe confirmation whether the invoice has already been reserve or not.

Example

Release an invoice reservation using invoice ID and organization ID: