revenueMovementCreate

Create a manual revenue movement. The revenueMovementCreate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: billing:write

For a complete list of input attributes see the RevenueMovementAttributes type

mutation revenueMovementCreate ($attributes: RevenueMovementAttributes!) {
  revenueMovementCreate (attributes: $attributes) {
      errors
      revenueMovement {
        accountId
        currencyId
        date
        id
        manual
        movementType
        recurringAmount
        totalAmount
        usageAmount
        usageMovementType
      }
  }
}

ArgumentsLink to Arguments section

{
  "attributes": {
    "accountId": "456123",
    "date": "2022-06-01",
    "recurringAmount": "1.00",
    "movementType": "",
    "usageAmount": "1.00",
    "usageMovementType": ""
  }
}
Name Type Description
attributes RevenueMovementAttributes  

ResponseLink to Response section

Name Type Description
errors List (String)  
revenueMovement RevenueMovement