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
        conversionRate
        createdAt
        currencyId
        description
        errorCode
        errorMessage
        fees
        id
        isLegacy
        memo
        paymentProcessor
        receivedAt
        remoteTransactionId
        startedAt
        updatedAt
      }
  }
}

Arguments

Name
Type
Description

paymentId

ID

accountId

ID

Response

Name
Type
Description

errors

List (String)

payment

Last updated

Was this helpful?