Activates the promo code.

Request

POST https://api.bytehand.com/v2/payments/bonuses

Parameters

Query Parameters
code

string

Required parameter. Access code for OAuth authorization received from BYTEHAND API to your redirect_uri.

Authorization

Requires authorization and access right finances_deposit.

Response

Upon successful completion of the request, an object of type Response is returned.

Example

Request

POST https://api.bytehand.com/v2/payments/bonuses?code=KyPjmJXT93

X-Service-Key: ZO0XJngUXZKjlcFNpzXBbw4UriheYwlc

Response

Status Code: 200
Content-Type: application/json;charset=UTF-8
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache

{
  "result": "updated"
}