Reference / Billing

Update the billing contact.

PATCH /v1/billing/profile
Secret API key operationId: update_profile

Authorization

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

Request body · required

  • billing_email string

Responses

200 Updated
{
  "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 PATCH "http://localhost:8080/v1/billing/profile" \
  -H "Content-Type: application/json" \
  -d '{
  "billing_email": "string"
}'

Try it

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

Request body

application/json