JavaScript
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.keystoneos.xyz/v1/settlement-templates/{template_id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "platform_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "config": { "states": [ "<string>" ], "initial_state": "<string>", "terminal_states": [ "<string>" ], "failure_states": [ "<string>" ], "transitions": {}, "asset_providers": {}, "payment_providers": {}, "compliance": { "recheck_at_states": [], "entity_providers": [], "wallet_providers": [] }, "required_roles": [ "seller", "buyer" ], "actions": {} }, "version": 123, "is_active": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Retrieve a settlement template by UUID.
Auth0 JWT access token. See Authentication for details.
Successful Response
Show child attributes