Disputes
Get Dispute Settings
Reads dispute settings and whether a webhook signing secret is stored. The secret itself is not returned.
Authorization
Authorization AuthorizationBearer <token>
In: header
Path Parameters
projectIdrequiredstring
ID of the project.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://www.saasco.com/api/v2/projects/string/dispute-settings"{
"expectedWebhookUrl": "string",
"settings": {
"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
},
"webhookSigningSecretSet": true
}{
"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": []
}