Update Dispute Settings
Updates dispute settings. Omitted fields stay as they are. Send null to clear a text field.
Authorization
Authorization In: header
Path Parameters
ID of the project.
Request Body
application/json
Settings to change. Omitted fields stay as they are.
Extra instructions included when drafting dispute evidence. Null clears them.
Whether the evidence draft uses aiContext.
Whether evidence is submitted to Stripe as soon as it is ready.
Cancellation-policy text sent with evidence. Null clears it.
Caption for the checkout-terms screenshot. Null clears it.
HTTPS URL of the checkout-terms screenshot. Null clears it.
Shared secret sent when Saasco calls customDataEndpointUrl. Null clears it.
HTTPS URL Saasco calls for extra evidence before drafting. Null clears it.
Whether the custom evidence endpoint is called.
Address that receives dispute outcome mail instead of the project default. Null clears the override.
Whether refund and cancellation policy text is included in evidence.
Product description sent with evidence instead of the Stripe charge text. Null clears it.
Refund-policy text sent with evidence. Null clears it.
Stripe webhook endpoint id that delivers dispute events. Set by provisioning; send null only to clear a stale id.
URL Stripe calls for dispute events. Set by provisioning; send null only to clear a stale URL.
Stripe webhook signing secret for the dispute endpoint. Omit to leave the stored secret unchanged.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://www.saasco.com/api/v2/projects/string/dispute-settings" \ -H "Content-Type: application/json" \ -d '{ "changes": {} }'{
"aiContext": null,
"aiContextEnabled": false,
"autoSubmit": true,
"cancellationPolicyDisclosure": null,
"checkoutTermsImageLabel": null,
"checkoutTermsImageUrl": null,
"customDataEndpointSecret": null,
"customDataEndpointUrl": null,
"customEndpointEnabled": false,
"notificationEmailOverride": null,
"policiesEnabled": false,
"productDescriptionOverride": null,
"refundPolicyDisclosure": null,
"stripeWebhookEndpointId": null,
"stripeWebhookEndpointUrl": null
}{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}