OKX API
POST /api/v5/asset/purchase_redempt endpoint removal
Stopped workingSubscribe to OKX APIShare
On January 22, 2024, the POST /api/v5/asset/purchase_redempt endpoint was taken offline. Requests made to POST /api/v5/asset/purchase_redempt after that date fail.
Calls it hits
POST /api/v5/asset/purchase_redempt/api/v5/asset/purchase_redempt
What to use instead of these calls
Call POST /api/v5/finance/savings/purchase-redempt instead.
In OKX API's words
OKX has migrated savings endpoints to the new. The new endpoints have been released in production on 2023/03/15. The corresponding old endpoints has been offline on 2024/01/22
Facts
- API
- OKX API
www.okx.com - Kind
- Endpoint removal
- Announced
- March 15, 2023
- Takes effect
- January 22, 2024
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against OKX API's own pages
Questions
When does this change take effect?
Calls to POST /api/v5/asset/purchase_redempt, /api/v5/asset/purchase_redempt on OKX API stopped working on January 22, 2024.
What happens to calls after January 22, 2024?
They have failed since January 22, 2024.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from OKX API 10
-
GET /api/v5/asset/lending-historyEndpoint removal Stopped working -
GET /api/v5/asset/lending-rate-historyEndpoint removal Stopped working -
GET /api/v5/asset/lending-rate-summaryEndpoint removal Stopped working -
GET /api/v5/asset/saving-balanceEndpoint removal Stopped working -
POST /api/v5/asset/set-lending-rateEndpoint removal Stopped working -
GET /api/v5/market/books-liteEndpoint removal Stopped working -
POST /api/v5/asset/convert-dust-assetsEndpoint removal Stopped working -
GET /api/v5/market/open-oracleEndpoint removal Stopped working -
POST /api/v5/account/set-riskOffset-typeEndpoint removal Stopped working -
/api/v5/account/fixed-loan/*Endpoint removal Stopped working
You fixed this one by hand.
Okapi opens the pull request with the fix before the next breaking change reaches your code.