mutation legacyPaymentCreate ($attributes: PaymentAttributes!, $invoiceIds: !) {
legacyPaymentCreate (attributes: $attributes, invoiceIds: $invoiceIds) {
errors
payment {
accountId
amount
amountUnapplied
baseCurrencyCash
baseCurrencyId
createdAt
currencyId
description
id
isLegacy
memo
receivedAt
updatedAt
}
}
}
{
"attributes": {
"memo": "",
"receivedAt": "2022-06-01T00:00:00Z",
"amount": "1.00",
"currencyId": "456123",
"accountId": "456123",
"fees": "1.00"
},
"invoiceIds": [
"456123"
]
}