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
        createdAt
        currencyId
        description
        id
        isLegacy
        memo
        receivedAt
        updatedAt
      }
  }
}

Arguments

{
  "paymentId": "456123",
  "accountId": "456123"
}
Name
Type
Description

paymentId

ID

accountId

ID

Response

Name
Type
Description

errors

List (String)

payment

Last updated

Was this helpful?