stripe_tax_accounts
Create a stripe tax account
Changed onCreate a stripe tax account
post/stripe_tax_accounts
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/stripe_tax_accounts
- AuthHTTP bearer
Request body
Example request
{
"data": {
"attributes": {
"name": "Personal tax calculator",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
},
"api_key": "STRIPE_API_KEY",
"commit_invoice": true
},
"relationships": {
"tax_categories": {
"data": {
"id": "XAyRWNUzyN"
}
}
}
}
}Response
The created stripe tax account object
Changes
- info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info