Skip to content
gist.link ↗

submitBillPayment

Mutation Pay API — POST https://pay.api.gist.link/graphql

Submit a pending bill payment to the payout rail: flips it to processing and queues the transfer via Messenger (bank details are decrypted only inside the async handler). ROLE_ADMIN or ROLE_PAY_MANAGER.

pay:mutation:submitBillPayment

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

type Mutation {
submitBillPayment(id: String!): BillPayment!
}
Argument Type Required Description
id String! Yes —

BillPayment! — see the Pay types reference.

Terminal window
curl https://pay.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation SubmitBillPayment($id: String!) { submitBillPayment(id: $id) { id uuid amount currency status created_at updated_at } }",
"variables": {
"id": "example"
}
}
JSON