GET Fulfillments
curl --request GET \
--url https://api.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}import requests
url = "https://api.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}', 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.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"fulfillment": {
"chainId": 1,
"createdAt": "2023-04-20T21:29:55.530Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "SUCCEEDED",
"transactionHash": "0xc705dec104b3c5b9f2395edd2bb59a2a66304fec529c569f8b613ab392354ee4",
"items": [
{
"destinationAddress": "0xa4ef984773fd233c4cbed9cb1b905a3fa21e9461",
"tokenId": "0x1"
}
],
"type": "MINT_TOKEN"
}
}
Commerce APIs
GET Fulfillments
Get details about a given fulfillment.
GET
/
v1
/
app
/
{appId}
/
fulfillments
/
{fulfillmentId}
GET Fulfillments
curl --request GET \
--url https://api.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}import requests
url = "https://api.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}', 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.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitski.com/v1/app/{appId}/fulfillments/{fulfillmentId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"fulfillment": {
"chainId": 1,
"createdAt": "2023-04-20T21:29:55.530Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "SUCCEEDED",
"transactionHash": "0xc705dec104b3c5b9f2395edd2bb59a2a66304fec529c569f8b613ab392354ee4",
"items": [
{
"destinationAddress": "0xa4ef984773fd233c4cbed9cb1b905a3fa21e9461",
"tokenId": "0x1"
}
],
"type": "MINT_TOKEN"
}
}
Access to this API is available upon request to sales@bitski.com.
Path
string
required
Your Bitski application id
string
required
The id of the fulfillment
Examples

Response
Fulfillment object
required
{
"fulfillment": {
"chainId": 1,
"createdAt": "2023-04-20T21:29:55.530Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "SUCCEEDED",
"transactionHash": "0xc705dec104b3c5b9f2395edd2bb59a2a66304fec529c569f8b613ab392354ee4",
"items": [
{
"destinationAddress": "0xa4ef984773fd233c4cbed9cb1b905a3fa21e9461",
"tokenId": "0x1"
}
],
"type": "MINT_TOKEN"
}
}
⌘I