Устарела эндпоинт списания средств Coinbase Commerce
curl --request POST \
--url https://api.llmstore.ru/v1/credits/coinbaseimport requests
url = "https://api.llmstore.ru/v1/credits/coinbase"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.llmstore.ru/v1/credits/coinbase', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.llmstore.ru/v1/credits/coinbase",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.llmstore.ru/v1/credits/coinbase"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.llmstore.ru/v1/credits/coinbase")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.llmstore.ru/v1/credits/coinbase")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"error": {
"code": 410,
"message": "The Coinbase APIs used by this endpoint have been deprecated, so the Coinbase Commerce credits API has been removed. Use the web credits purchase flow instead."
}
}Credits
Устарела эндпоинт списания средств Coinbase Commerce
deprecated
Устарело. API-интерфейсы Coinbase, используемые этой эндпоинтом, устарели, поэтому плата за коммерцию Coinbase была снята. Вместо этого используйте процесс покупки веб-кредитов.
POST
/
credits
/
coinbase
Устарела эндпоинт списания средств Coinbase Commerce
curl --request POST \
--url https://api.llmstore.ru/v1/credits/coinbaseimport requests
url = "https://api.llmstore.ru/v1/credits/coinbase"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.llmstore.ru/v1/credits/coinbase', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.llmstore.ru/v1/credits/coinbase",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.llmstore.ru/v1/credits/coinbase"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.llmstore.ru/v1/credits/coinbase")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.llmstore.ru/v1/credits/coinbase")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"error": {
"code": 410,
"message": "The Coinbase APIs used by this endpoint have been deprecated, so the Coinbase Commerce credits API has been removed. Use the web credits purchase flow instead."
}
}Response
Эта эндпоинт устарела и никогда не будет возвращать ответ 200.
⌘I