Billing
Save billing details
The details printed on your GST invoices. Needed before your first payment.
Authentication
A signed-in session: the cookie from Log in. Changes also need the X-CSRF-Token header.
Body
legal_namestringrequiredThe name to print on invoices.
emailstringrequiredWhere to send billing emails.
phonestringrequiredA 10-digit Indian mobile number.
address_line1stringrequiredThe billing address.
address_line2stringoptionalMore of the address.
citystringrequiredThe city.
state_codestringrequiredThe two-digit GST state code, such as 07 for Delhi.
postal_codestringrequiredThe six-digit PIN code.
gstinstringoptionalYour GSTIN, registered in the same state.
Response
200 OK
billing_profileobjectThe saved details.
Errors
| Status | Code | What to do |
|---|---|---|
| 400 | invalid_request | See field and message. |
| 401 | unauthenticated | Log in first, or log in again. |
| 403 | csrf_failed | Send the csrf_token as X-CSRF-Token. |