Skip to Content
Payrudder

Customers in the console

Find, add, change and block a customer, and read what the customer's sheet shows.

Your app usually creates customers through the API. The console is where you look at them, fix one by hand, ask for a card, correct usage or block someone. This page walks through those screens; the calls are in the API reference and the usage-based billing guide.

Every name in bold is a string of the English console. The page was written from the console's texts and its code, not by following it on a screen with a person. The console changes faster than this page: where they differ, the console is right.

Where it is

In the sidebar, under Customers and billing, the first item is Customers.

Your app normally creates a customer with POST /v1/customers, using its own id as the customer's external_id. Use the console for the odd customer added or fixed by hand.

Find a customer

Part of the listWhat it holds
SearchSearch name, e-mail, customer id, tax id
FiltersThe country, the currency, the subscription (Has an active subscription or No active subscription) and the billing state (Open invoices or Delinquent)
ColumnsCustomer, Subscriptions, Currency, Country, Total spend, Created and Last payment

Spend, balances and last payments are worked out from the newest invoices and payments. On a customer with a long history they are a recent picture, not a ledger. The ledger is the invoices and payments themselves.

A row's menu has the same actions as the sheet and one more, Quotas: the customer's own limits, which override those of their package, shown with their usage in force.

Tick rows to act on several at once: Export selected as CSV, Block and Lift the block. A bulk action says how many rows it changed and how many it could not.

Add a customer

Open the form

Press New customer. A sheet opens.

Fill in who they are

  • Customer id: the id your app uses for them. No other customer can take it.
  • Name and E-mail.
  • Billing currency: left alone, it is the Account's currency.

Set the profile

The profile decides how the customer is addressed.

  • Language: the language of their mails, receipts and payment pages. Left on Browser's language, the page follows the browser and a mail follows the account's default.
  • Type: Individual or Business (taxpayer). Not specified is allowed. The type matters to e-invoices (see Tax and e-invoices).
  • Mobile number: Choose the country, then type the number. It is kept in international form (+90 532 123 45 67). A number that is not the country code and 7 to 15 digits is refused.

Add the billing address

The Billing address is a country, State / region, City, Address line 1, Address line 2 and Postal code. The country of the address is the customer's country, which sets the tax rate used on their invoices (see Pricing).

Save

Press Create customer.

The customer's sheet

Open a row to see the customer's sheet. At the top: the customer's id with a copy button, the day the customer was created, and four figures: Total spend, Open balance, Credit balance and Active subscriptions.

The sections are Overview, Payments, Invoices, Subscriptions, Credits, Details and Agreements.

Actions on the sheet

Upcoming invoice

Upcoming invoice shows what the open period would be invoiced if it were drafted now. It is an estimate, worked out the way the real invoice is. It moves with every event until the period closes, and a plan change, coupon or tax rate set later can change it.

The payment page

Payment page is the customer's own page. It shows their invoices, payments and credits and is opened from a link.

ActionWhat it does
Copy link and Open pageGive the link to the customer
Regenerate linkMakes a new link. The old ones stop working
Revoke allStops every link

The link is valid for a number of days that the page states. The same link can be made with POST /v1/customers/{external_id}/portal-links.

Tax data

Tax data holds what e-invoices carry: Tax id (VKN/TCKN or VAT id), Tax office and Registered for e-fatura. Save with Save tax data.

The form only hints. A number that does not look like the kind the customer should have gets a warning, and you can still save it:

  • a TCKN for an individual in Turkey,
  • a VKN for a business there,
  • the shape and check digits of a VAT id for a business in the EU.

The sheet's Details section then says This number does not look right for this customer. Open the tax data to see why. The checks are local: they do not look the number up at any registry.

An organisation as a customer

A customer can be an organisation. A university that buys mailboxes has many people who use your product, and one of them pays.

  • The sheet's Members tab lists those people as your application knows them. The Member ID is the person's id in your own system.
  • One member is the Billing owner, the person who manages payment. The first person you add becomes it.
  • Make owner hands the ownership to another member. The owner until then stays as a member.
  • The owner can be removed only when nobody else is left.

Invoices are still addressed to the customer and mailed to the customer's e-mail address. After a handover the console offers to mail them to the new owner instead.

In your application, ask GET /v1/customers/{external_id}/members/{member_id} before you show your billing pages to somebody: can_manage_billing is true for the billing owner only. A payment page link asked with member_external_id is made for the billing owner only; anybody else gets 403 gateway.members.not_owner.

Block a customer

Block stops a customer from starting anything new. No new subscription, plan change or purchase can be started for them. What they have now runs on.

The form asks:

FieldWhat it does
WhyFraud, Chargeback, Abuse, Their own request or Other. Fraud and chargeback also stop them paying an invoice that is open
Your noteOnly you see it, never the customer. Up to 500 characters
Ends onLeave it empty to block until you lift it. The customer can buy again from that day
Also suspend their serviceWhile on, entitlement checks for this customer answer "not allowed" on every meter. Usage you send is still accepted and counted.

A blocked customer wears a Blocked badge. Lift the block removes it, and Block history lists every block and lift with who made it and when.

Next steps