Skip to main content

Arguments

input : CreateAutoTopupConfigInput! required

Input fields for creating an auto top-up config.

Returns

CreateAutoTopupConfig

Create a new auto top-up config for a SPAYG meter.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can configure auto topup config AND Can query auto topup config

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation CreateAutoTopupConfig($input: CreateAutoTopupConfigInput!) { createAutoTopupConfig(input: $input) { autoTopupConfig { ...AutoTopupConfigTypeFragment } } }

Variables

Response

{ "data": { "createAutoTopupConfig": { "autoTopupConfig": AutoTopupConfigType } } }