Anchor to orderCreateMandatePaymentorder
mutationorderCreateMandatePayment
Requires access scope. Also: The user must have
permission. The API client must be installed on a Shopify Plus store to use the amount field.
Creates a payment for an order by mandate.
Anchor to Arguments
Arguments
- Anchor to amountamount•Money
Input The payment amount to collect.
- Anchor to autoCaptureauto•Boolean
Capture Default:true Whether the payment should be authorized or captured. If
false
, then the authorization of the payment is triggered.- •ID!required
The ID of the order to collect the balance for.
- Anchor to idempotencyKeyidempotency•String!
Key required A unique key to identify the payment request.
- Anchor to mandateIdmandate•ID!
Id required The mandate ID used for payment.
- Anchor to paymentScheduleIdpayment•ID
Schedule Id The ID of the payment schedule to collect the balance for.
Was this section helpful?
Anchor to OrderCreateMandatePaymentPayload returnsOrderCreateMandatePaymentPayload returns
- •Job
The async job used for charging the payment.
- Anchor to paymentReferenceIdpayment•String
Reference Id The Unique ID for the created payment.
- Anchor to userErrorsuser•[Order
Errors Create Mandate Payment User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?