palbaseDocs

Palbase Payments · API

GET/payments/customers/{customer_id}

Get a payer's billing profile

Reads the profile of a payer: a signed-in customer, or a company or team the project's server names. 404 customer_not_found when nothing is kept under that id. With a tax number of a kind, tax_id_status gives the verification of the provider that keeps a record of the payer (asked as the profile is read; left out when it cannot be asked in time).

Called by your server, with the project's secret key.

Path

customer_idstring · requiredThe payer's id: a user id, or any name of 1 to 128 characters the project's server gives a company or a team. Escape it as a path segment.
curl
curl -X GET "https://<your-ref>.palbase.studio/payments/customers/<customer_id>" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200OK

defaultStandard Palbase JSON error envelope (`error` and `error_description`).

Operation GetCustomer of payments's contract.