Skip to main content

refundExecutionCredit

Refund a debited execution credit transaction for a control sync status

refundExecutionCredit(
input: RefundExecutionCreditInput!
): RefundExecutionCreditPayload

Arguments​

refundExecutionCredit.input ● RefundExecutionCreditInput! non-null input​

Parameters for RefundExecutionCredit

Type​

RefundExecutionCreditPayload object​

Autogenerated return type of RefundExecutionCredit.

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 MutateRefundExecutionCredit($input: RefundExecutionCreditInput!) {\n refundExecutionCredit(input: $input) { clientMutationId errors executionCreditTransaction { id createdAt credits } }\n}","variables":{"input":{"executionCreditId":"<execution_credit_id>","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