Execute token purchase

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

Request
Security:
tilia_auth (write_tokens)
path Parameters
token_exchange_id
required
any <TUID>

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

Example: vtok_1y9CqqiLJ6s0W2hsPgQqLkvR4og
Responses
200

Successfully executed token purchase.

400

Invalid input

401

Unauthorized access.

403

Disallowed from transacting.

500

Service unavailable or server error.

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