Reference / Billing

Read the billing profile (contact + payment method on file).

GET /v1/billing/profile
Secret API key operationId: get_profile

Authorization

Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.

Responses

200 Billing profile
{
  "data": {
    "billing_email": "string",
    "has_payment_method": false,
    "payment_brand": "string",
    "payment_last4": "string"
  },
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}

Request

curl -X GET "http://localhost:8080/v1/billing/profile" \

Try it

live request
GET http://localhost:8080/v1/billing/profile