Skip to main content

Arguments

Returns

CreatePaymentMethod

Creates a new customer in GMO, a PaymentInstruction, and PaymentSchedule for an existing user.

This is called when creating a new CREDIT CARD payment method. Direct debit uses the IncomingGMOCreationExistingAccountCallback webhook.

This endpoint is designed to be used on an account with no existing payment method.

Allowed Viewers

Customer Partner User Third party

Query Complexity

6

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation CreatePaymentMethod($input: CreatePaymentMethodInput) { createPaymentMethod(input: $input) { reference } }

Variables

Response

{ "data": { "createPaymentMethod": { "reference": "PM-himself-suddenly-name-yes" } } }