customer
Returns one customer of the current account by ID. A customer that is not found returns a NotFound error. Arguments: - id: Customer ID, from customers, createCustomer, or the customerId of a charge or subscription.
customer(
id: ID!
): Customer
Arguments
customer.id ● ID! non-null scalar
Type
Customer object
A customer of the merchant. Two forms use this type.
The Customer entity (customer, customers, createCustomer, updateCustomer) holds every field.
A payment or subscription holds a copy of the customer's email, name and phone. A subscription
takes the copy when it is created. A payment takes it from the customer input of createPayment,
else from its billing or shipping details, and fills what is missing from the Customer entity of
customerId when the payment is confirmed: a payment created with customerId alone has no copy
(null) until then. MONEI does not change the copy when the Customer entity changes. On the copy,
the other fields are null. Use the customerId of the payment or subscription to get the Customer
entity.