customerPaymentMethodRemoteCreate - admin-graphql - MUTATION
Version: 2024-10
Description:
Create a payment method from remote gateway identifiers.
Access Scopes
`write_customers` access scope. Also: Requires `write_customer_payment_methods` scope.
Arguments
-
customerId:
ID! -
The ID of the customer.
-
remoteReference:
CustomerPaymentMethodRemoteInput! -
Remote gateway payment method details.
Returns
-
customerPaymentMethod:
CustomerPaymentMethod
The customer payment method.
-
userErrors:
CustomerPaymentMethodRemoteUserError!
The list of errors that occurred from executing the mutation.
Examples