customer Payment Method Remote Create
Requires access scope. Also: Requires
scope.
Create a payment method from remote gateway identifiers. NOTE: This operation processes payment methods asynchronously. The returned payment method will initially have incomplete details. Developers must poll this payment method using customerPaymentMethod query until all payment method details are available, or the payment method is revoked (usually within seconds).
Arguments
- Anchor to customerIdcustomer•ID!required
Id The ID of the customer.
- Anchor to remoteReferenceremote•Customer
Reference Payment Method Remote Input!required Remote gateway payment method details.
Anchor to CustomerPaymentMethodRemoteCreatePayload returnsCustomer Payment Method Remote Create Payload returns
- Anchor to customerPaymentMethodcustomer•Customer
Payment Method Payment Method The customer payment method. Note that the returned payment method may initially be in an incomplete state. Developers should poll this payment method using the customerPaymentMethod query until all required payment details have been processed.
- Anchor to userErrorsuser•[Customer
Errors Payment Method Remote User Error!]!non-null The list of errors that occurred from executing the mutation.