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

Name

Type

Description

invoiceID

String

Represents the invoice ID.

orgID

String

Represents the organization ID.

Returns

Name

Type

Description

N/A

Boolean

The confirmation whether the invoice has already been reserve or not.

Example

Release an invoice reservation using invoice ID and organization ID: