IGoCardlessCreateCustomer Method |
Creates a new customer object.
RESTRICTED: this endpoint is restricted to GoCardless accounts with approved payment pages. To instead use the GoCardless hosted payment pages, see GoCardless.Create function for redirect flows.
Namespace:
NetQuarry.Services.Payment
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax GoCardlessCustomer CreateCustomer(
GoCardlessCustomer input
)
Function CreateCustomer (
input As GoCardlessCustomer
) As GoCardlessCustomer
Parameters
- input
- Type: NetQuarry.Services.PaymentGoCardlessCustomer
required: (given_name + family_name) OR company_name
optional: IDEMPOTENCYKEY, address_line1, address_line2, address_line3, city, country_code, email, family_name, given_name, language, metadata, postal_code, region
don't set: swedish_identity_number
Return Value
Type:
GoCardlessCustomerGoCardless.Customer object
See Also