Skip to main content

PaymentExternalTransactionUpdateInput

The changes to apply to an external transaction with paymentExternalTransactionUpdate.

input PaymentExternalTransactionUpdateInput {
exchangeRate: Float
fees: [PaymentExternalTransactionUpdateFeeInput!]
number: String
status: PaymentExternalTransactionStatusInput
timestamp: ISO8601DateTime
}

Fields​

PaymentExternalTransactionUpdateInput.exchangeRate ● Float scalar​

The new exchange rate reported by the payment provider.

PaymentExternalTransactionUpdateInput.fees ● [PaymentExternalTransactionUpdateFeeInput!] list input​

Updates fees without replacing the full fee list: a fee with id updates that fee, a fee without id creates a new one.

PaymentExternalTransactionUpdateInput.number ● String scalar​

The transaction number/ID assigned by the payment provider.

PaymentExternalTransactionUpdateInput.status ● PaymentExternalTransactionStatusInput enum​

The new transaction status. Validated against the transaction's allowed next statuses; an invalid transition returns a bad request error.

PaymentExternalTransactionUpdateInput.timestamp ● ISO8601DateTime scalar​

The event timestamp, meaningful together with status. Mapped to startedAt, transactedAt or failedAt depending on the submitted status.

Member Of​

paymentExternalTransactionUpdate mutation