Creates or updates (upserts) a billing portal with a specified ID.
websiteId required | string (WebsiteId) <= 50 characters ID of the website. A website is where an organization obtains a customer. For more information, see Obtain an organization ID and website ID. |
slug required | string [ 5 .. 100 ] characters Path segment that is appended to the billing portal URL to help make it human-readable.
Example: |
name required | string Billing portal name. This name is for internal use and helps you to organize and differentiate billing portals. This value is not displayed to your customers. |
customDomain | string or null <= 255 characters Custom domain for the billing portal.
The default domain is: |
object Features that can be enabled for the billing portal. | |
object Visual customization options for the billing portal. | |
status | string Default: "active" Status of the billing portal. If the status is |
Billing portal updated.
websiteId required | string (WebsiteId) <= 50 characters ID of the website. A website is where an organization obtains a customer. For more information, see Obtain an organization ID and website ID. |
slug required | string [ 5 .. 100 ] characters Path segment that is appended to the billing portal URL to help make it human-readable.
Example: |
name required | string Billing portal name. This name is for internal use and helps you to organize and differentiate billing portals. This value is not displayed to your customers. |
id | string <= 50 characters ID of the billing portal. |
customDomain | string or null <= 255 characters Custom domain for the billing portal.
The default domain is: |
object Features that can be enabled for the billing portal. | |
object Visual customization options for the billing portal. | |
status | string Default: "active" Status of the billing portal. If the status is |
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. |
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. |
Array of objects (SelfLink) Related links. | |
Billing portal created.
Location | string <uri> Location of the related resource. Example: "https://api.rebilly.com/example" |
websiteId required | string (WebsiteId) <= 50 characters ID of the website. A website is where an organization obtains a customer. For more information, see Obtain an organization ID and website ID. |
slug required | string [ 5 .. 100 ] characters Path segment that is appended to the billing portal URL to help make it human-readable.
Example: |
name required | string Billing portal name. This name is for internal use and helps you to organize and differentiate billing portals. This value is not displayed to your customers. |
id | string <= 50 characters ID of the billing portal. |
customDomain | string or null <= 255 characters Custom domain for the billing portal.
The default domain is: |
object Features that can be enabled for the billing portal. | |
object Visual customization options for the billing portal. | |
status | string Default: "active" Status of the billing portal. If the status is |
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. |
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. |
Array of objects (SelfLink) Related links. | |
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
Invalid data sent.
{- "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG",
- "slug": "string",
- "name": "string",
- "customDomain": "string",
- "features": {
- "authenticateWithPassword": true,
- "orderCancel": true,
- "orderAddressEdit": true,
- "paymentInstrumentAdd": true,
- "paymentInstrumentUpdate": true,
- "paymentInstrumentDeactivate": true
}, - "customization": {
- "logoId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "colors": {
- "primary": "0044d4",
- "secondary": "ffffff"
}, - "links": {
- "refundPolicy": "string",
- "privacyPolicy": "string",
- "termsOfService": "string"
}
}, - "status": "active"
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG",
- "slug": "string",
- "name": "string",
- "customDomain": "string",
- "features": {
- "authenticateWithPassword": true,
- "orderCancel": true,
- "orderAddressEdit": true,
- "paymentInstrumentAdd": true,
- "paymentInstrumentUpdate": true,
- "paymentInstrumentDeactivate": true
}, - "customization": {
- "logoId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "colors": {
- "primary": "0044d4",
- "secondary": "ffffff"
}, - "links": {
- "refundPolicy": "string",
- "privacyPolicy": "string",
- "termsOfService": "string"
}
}, - "status": "active",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}