Skip to main content

debitExecutionCredit

Debit credits from an execution credit

debitExecutionCredit(
input: DebitExecutionCreditInput!
): DebitExecutionCreditPayload

Arguments​

debitExecutionCredit.input ● DebitExecutionCreditInput! non-null input​

Parameters for DebitExecutionCredit

Type​

DebitExecutionCreditPayload object​

Autogenerated return type of DebitExecutionCredit.

Example request

This generated mutation uses placeholders for required values. Replace them with values available to your API key before running it.

Before you run it

Run the executionCredits query first and use data.executionCredits.collection[].id as executionCreditId.

curl --request POST https://api.convisoappsec.com/graphql \
--header "x-api-key: $CONVISO_API_KEY" \
--header "content-type: application/json" \
--data '{"query":"mutation MutateDebitExecutionCredit($input: DebitExecutionCreditInput!) {\n debitExecutionCredit(input: $input) { clientMutationId errors executionCreditTransaction { id createdAt credits } }\n}","variables":{"input":{"executionCreditId":"<execution_credit_id>","credits":1,"entityId":"<entity_id>","entityType":"CONTROL_SYNC_STATUS"}}}'

Contribute to the Docs

Found something outdated or missing? Help us improve the documentation with a quick suggestion or edit.

How to contribute