💵Withdraws

It is possible to withdraw funds in items using our API.

to get available items you need to fetch available to withdraw

GET https://api.payskin.gg/rest-api/items/withdrawable 
Content-Type: application/json 
Authorization: Bearer ${bearerToken} 


RESPONSE

{
  tradingBotId: Long? 
  assetId: Long? 
  tradelock: LocalDateTime? 
  marketHashName: String? 
  ourPrice: BigDecimal?
}

There is a possibility to lock an item.

PATCH https://api.payskin.gg/rest-api/items/withdrawable/{assetId}/locks
Content-Type: application/json 
Authorization: Bearer ${bearerToken} 

Then to proceed with withdraw

After user accepts or reject withdraw we will notify You about status change @notifyUrl. Available statuses are STARTED, SUCCESS, FAIL

Last updated