legacyPaymentCreate
Graphql fields and variables for the legacyPaymentCreate mutation
Create a legacy payment
Scope required: billing:write
For a complete list of input attributes see the PaymentAttributes type
mutation legacyPaymentCreate ($attributes: PaymentAttributes!, $invoiceIds: !) {
legacyPaymentCreate (attributes: $attributes, invoiceIds: $invoiceIds) {
errors
payment {
accountId
amount
amountUnapplied
baseCurrencyCash
baseCurrencyId
completedAt
createdAt
currencyId
description
errorCode
errorMessage
id
isLegacy
memo
receivedAt
remoteTransactionId
updatedAt
}
}
}
Arguments
{
"attributes": {
"memo": "",
"receivedAt": "2022-06-01T00:00:00Z",
"amount": "1.00",
"currencyId": "456123",
"accountId": "456123",
"fees": "1.00"
},
"invoiceIds": [
"456123"
]
}
Name
Type
Description
invoiceIds
List (ID)
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?