Order Create Manual Payment Order Create Manual Payment Error
Requires access scope. Also: The user must have mark_orders_as_paid permission.
An error that occurs during the execution of a order create manual payment mutation.
Anchor to FieldsFields
- Anchor to codecode•Order
Create Manual Payment Order Create Manual Payment Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- •mutation
Create a manual payment for an order. You can only create a manual payment for an order if it isn't already fully paid.
- Anchor to amountamount•Money
Input The manual payment amount to be created.
- •ID!required
The ID of the order to create a manual payment for.
- Anchor to paymentMethodNamepayment•String
Method Name The name of the payment method used for creating the payment. If none is provided, then the default manual payment method ('Other') will be used.
- Anchor to processedAtprocessed•Date
At Time The date and time (ISO 8601 format) when a manual payment was processed. If you're importing transactions from an app or another platform, then you can set processedAt to a date and time in the past to match when the original transaction was created.
Arguments
- Anchor to orderorder•Order
The order recorded a manual payment.
- Anchor to userErrorsuser•[Order
Errors Create Manual Payment Order Create Manual Payment Error!]! non-null The list of errors that occurred from executing the mutation.
Fields