Skip to content
gist.link ↗

retryInvoicePayment

Mutation Billing API — POST https://billing.api.gist.link/graphql

Retry collection of an open invoice right now. Any org member.

billing:mutation:retryInvoicePayment

The calling IAM key must hold this permission (or a wildcard that covers it: billing:mutation:* or billing:*) and the access token must have been minted with audience=billing. See Permissions.

type Mutation {
retryInvoicePayment(uuid: ID!): Invoice!
}
Argument Type Required Description
uuid ID! Yes —

Invoice! — see the Billing types reference.

Terminal window
curl https://billing.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation RetryInvoicePayment($uuid: ID!) { retryInvoicePayment(uuid: $uuid) { uuid status created_at updated_at } }",
"variables": {
"uuid": "01a01234-abcd-7000-9000-0123456789ab"
}
}
JSON