Execute token conversion

Execute an OPEN token conversion - exchange virtual tokens for real currency.

Request
Security:
tilia_auth (write_tokens)
path Parameters
token_exchange_id
required
string (TokenExchangeId) <= 36 characters

The virtual exchange ID. Must refer to an OPEN token exchange with direction=token_convert

Example: vtok_2V2WX4AZZiE6eDoGb6coN0RuxIR
Responses
200

Successfully executed token conversion.

400

Invalid input

401

Unauthorized access.

403

Disallowed from transacting.

500

Service unavailable or server error.

post/v2/token/convert/{token_exchange_id}
Request samples
curl -i -X POST \
  https://invoicing.tilia-inc.com/v2/token/convert/:token_exchange_id \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "status": "Success",
  • "payload": {
    }
}