Skip to main content
GET
/
v0
/
customers
/
{id}
Get
curl --request GET \
  --url https://api.paygentic.io/v0/customers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "cus_p1q2r3s4t5u6v7w8",
  "object": "customer",
  "consumerId": "org_x9y0z1a2b3c4d5e6",
  "createdAt": "2024-02-05T11:30:00Z",
  "merchantId": "org_f7g8h9i0j1k2l3m4",
  "paymentAuthorizationEnabled": true,
  "taxId": null,
  "taxRates": {
    "default": 8.5
  },
  "updatedAt": "2024-02-10T14:20:00Z",
  "validTaxAddress": {
    "message": null,
    "valid": true
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

The unique identifier of the customer.

Response

Customer details retrieved successfully

id
string
required

Unique identifier for a customer

object
enum<string>
default:customer
required
Available options:
customer
consumerId
string
required

Unique identifier for an organization

createdAt
string<date-time>
required
merchantId
string
required

Unique identifier for an organization

paymentAuthorizationEnabled
boolean
required
updatedAt
string<date-time>
required
validTaxAddress
object
required

Indicates whether the consumer address is valid for tax calculation when using Paygentic Tax. If valid=false, tax calculation will be skipped and internal invoice flow with default tax rate will be used.

authorizationExpiresAt
string<date-time>
authorizationToken
string
organization
object
taxId
string

Business tax registration identifier. Sample values: 'GB123456789' for UK VAT, 'DE123456789' for German VAT, 'FR12345678901' for French VAT. Enables inter-company tax handling and exemption from standard tax collection.

taxRates
object

An object mapping plan IDs, metric IDs, or 'default' to a tax rate percentage (e.g., 13 for 13%)