Skip to navigation

Give a token a voucher

Refused when the voucher has expired or already has max_users holders. A record only: it does not authorize charging.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idintegerRequired>=1

The voucher’s id.

token_idintegerRequired>=1

The gateway token’s id (see /proxy/tokens).

Response

The new link between the voucher and the token.
idinteger
voucher_idinteger
token_idinteger
created_atdatetime

Errors

401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error