paymentApplyToAccount
Graphql fields and variables for the paymentApplyToAccount mutation
Apply a payment to an account
Scope required: billing:write
mutation paymentApplyToAccount ($paymentId: ID!, $accountId: ID!) {
paymentApplyToAccount (paymentId: $paymentId, accountId: $accountId) {
errors
payment {
accountId
amount
amountUnapplied
baseCurrencyCash
baseCurrencyId
completedAt
createdAt
currencyId
description
errorCode
errorMessage
id
isLegacy
memo
receivedAt
remoteTransactionId
updatedAt
}
}
}
Arguments
{
"paymentId": "456123",
"accountId": "456123"
}
Name
Type
Description
paymentId
ID
accountId
ID
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?