---
title: orderCreateMandatePayment - GraphQL Admin
description: >-
  Creates a payment for an

  [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)
  using a stored
  [`PaymentMandate`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentMandate).

  A payment mandate represents the customer's authorization to charge their

  payment method for deferred payments, such as pre-orders or try-before-you-buy
  purchases.


  The mutation processes the payment asynchronously and returns a

  [`Job`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Job) for

  tracking the payment status. You can specify the payment amount to collect,
  and use the
  [`autoCapture`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCreateMandatePayment#arguments-autoCapture)

  argument to either immediately capture the payment or only authorize it for

  later capture. Each payment request requires a unique
  [`idempotencyKey`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCreateMandatePayment#arguments-idempotencyKey)

  to prevent duplicate charges. Subsequent calls with the same key return the

  original payment result rather than creating a new payment.


  Learn more about [deferred payments and payment
  mandates](https://shopify.dev/docs/apps/build/purchase-options/deferred#charging-the-remaining-balance)

  and [idempotent

  requests](https://shopify.dev/docs/api/usage/idempotent-requests).
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCreateMandatePayment
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCreateMandatePayment.md
api_name: admin
api_type: graphql
type: mutation
---

# order​Create​Mandate​Payment

mutation

Requires `write_payment_mandate` access scope. Also: The user must have `pay_orders_by_vaulted_card` permission. The API client must be installed on a Shopify Plus store to use the amount field.

Creates a payment for an [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order) using a stored [`PaymentMandate`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentMandate). A payment mandate represents the customer's authorization to charge their payment method for deferred payments, such as pre-orders or try-before-you-buy purchases.

The mutation processes the payment asynchronously and returns a [`Job`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Job) for tracking the payment status. You can specify the payment amount to collect, and use the [`autoCapture`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCreateMandatePayment#arguments-autoCapture) argument to either immediately capture the payment or only authorize it for later capture. Each payment request requires a unique [`idempotencyKey`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCreateMandatePayment#arguments-idempotencyKey) to prevent duplicate charges. Subsequent calls with the same key return the original payment result rather than creating a new payment.

Learn more about [deferred payments and payment mandates](https://shopify.dev/docs/apps/build/purchase-options/deferred#charging-the-remaining-balance) and [idempotent requests](https://shopify.dev/docs/api/usage/idempotent-requests).

## Arguments

* amount

  [Money​Input](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/MoneyInput)

  The payment amount to collect.

* auto​Capture

  [Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)

  Default:true

  Whether the payment should be authorized or captured. If `false`, then the authorization of the payment is triggered.

* id

  [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

  required

  The ID of the order to collect the balance for.

* idempotency​Key

  [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  required

  A unique key to identify the payment request.

* mandate​Id

  [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

  required

  The mandate ID used for payment.

* payment​Schedule​Id

  [ID](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

  The ID of the payment schedule to collect the balance for.

***

## Order​Create​Mandate​Payment​Payload returns

* job

  [Job](https://shopify.dev/docs/api/admin-graphql/latest/objects/Job)

  The async job used for charging the payment.

* job​Result

  [Order​Create​Mandate​Payment​Job​Result](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderCreateMandatePaymentJobResult)

  The job result for tracking the status of the mandate payment request.

* payment​Reference​Id

  [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The Unique ID for the created payment.

* user​Errors

  [\[Order​Create​Mandate​Payment​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderCreateMandatePaymentUserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### orderCreateMandatePayment reference
