Skip to main content

Arguments

input : PostCreditInput! required

Input fields for posting a credit.

Returns

PostCredit

Post credit to a ledger.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can add credits to accounts

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 PostCredit($input: PostCreditInput!) { postCredit(input: $input) { credit { ...CreditFragment } } }

Variables

{ "input": PostCreditInput }

Response

{ "data": { "postCredit": { "credit": Credit } } }