Add a TOU statement to a TOU using POST /Bulk
POST {{stripeUrl}}/admin/v1/Bulk
Add a terms of use statement to a terms of use using the POST method on the /Bulk endpoint.
Request Body
{"schemas"=>["urn:ietf:params:scim:api:messages:2.0:BulkRequest"], "Operations"=>[{"method"=>"PATCH", "path"=>"/TermsOfUses/8f29335b4a304e82b930d8e8cdf386e9", "data"=>{"schemas"=>["urn:ietf:params:scim:api:messages:2.0:PatchOp"], "Operations"=>[{"op"=>"add", "path"=>"statements", "value"=>[{"value"=>"fff70d58a3074617af01e0de8512423d"}, {"value"=>"334e7ad1b11440c28662ecc517cce5cb"}]}]}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Date | string | ||
Content-Type | string | ||
x-content-sha256 | string |
RESPONSES
status: Created
{"schemas":["urn:ietf:params:scim:api:messages:2.0:BulkResponse"],"Operations":[{"location":"https://tenant-base-url/admin/v1/TermsOfUses/8f29335b4a304e82b930d8e8cdf386e9","method":"PATCH","status":"200"}]}