Skip to main content
PATCH
Update policy settings

Supported products

Autorizaciones

Authorization
string
header
requerido

The access token received from the authorization server in the OAuth 2.0 flow.

FlowAuthorization Code
Authorization URL
https://app.hubspot.com/oauth/authorize
Token URL
https://api.hubapi.com/oauth/v1/token
Scopes1
payments-checkout-settings-write

Cuerpo

application/json
cancellationPolicyText
object
requerido

An object containing the text of the cancellation policy.

refundPolicyText
object
requerido

An object containing the text of the refund policy.

termsOfServiceUrl
object
requerido

An object representing the URL for the terms of service.

acknowledgementRequired
boolean

A boolean that specifies if acknowledgement is required for the policy.

customPolicyEnabled
boolean

A boolean indicating whether a custom policy is enabled.

Respuesta

successful operation

acknowledgementRequired
boolean
requerido

A boolean indicating whether an acknowledgement is required for the policy.

customPolicyEnabled
boolean
requerido

A boolean indicating whether a custom policy is enabled.

cancellationPolicyText
string

A string containing the text of the cancellation policy.

refundPolicyText
string

A string containing the text of the refund policy.

termsOfServiceUrl
string

A string representing the URL of the terms of service.

Última modificación el 6 de octubre de 2026