Get a wallet card by pass ID
curl --request GET \
--url https://api.bambumeta.software/brands/{brand_id}/wallets/{pass_id} \
--header 'Authorization: <api-key>'import requests
url = "https://api.bambumeta.software/brands/{brand_id}/wallets/{pass_id}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.bambumeta.software/brands/{brand_id}/wallets/{pass_id}', 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.bambumeta.software/brands/{brand_id}/wallets/{pass_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$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.bambumeta.software/brands/{brand_id}/wallets/{pass_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
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.bambumeta.software/brands/{brand_id}/wallets/{pass_id}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bambumeta.software/brands/{brand_id}/wallets/{pass_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"passId": 12345,
"serialNumber": "88faf0d9-196c-11f1-99ef-0e0d839580d9",
"templateId": 100,
"personId": "550e8400-e29b-41d4-a716-446655440000",
"passdata": {
"points": 0,
"metaData": {
"memberId": "1001"
}
},
"downloadUrl": "https://wallet-pass.bambumeta.software/brand/353/88faf0d9-196c-11f1-99ef-0e0d839580d9",
"downloadUrlApple": "https://wallet-pass.bambumeta.software/brand/353/88faf0d9-196c-11f1-99ef-0e0d839580d9",
"downloadUrlGoogle": "https://pay.google.com/gp/v/save/eyJhbGciOiJFUzI1NiJ9...",
"statusCode": "ACTIVE",
"status": 200
}{
"message": "<string>"
}Wallet cards
Get a wallet card by pass ID
Returns a single wallet pass when you have the Bambu passId from an issue-wallet response. Use this when you stored passId but not your external unique_id.
GET
/
{brand_id}
/
wallets
/
{pass_id}
Get a wallet card by pass ID
curl --request GET \
--url https://api.bambumeta.software/brands/{brand_id}/wallets/{pass_id} \
--header 'Authorization: <api-key>'import requests
url = "https://api.bambumeta.software/brands/{brand_id}/wallets/{pass_id}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.bambumeta.software/brands/{brand_id}/wallets/{pass_id}', 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.bambumeta.software/brands/{brand_id}/wallets/{pass_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$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.bambumeta.software/brands/{brand_id}/wallets/{pass_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
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.bambumeta.software/brands/{brand_id}/wallets/{pass_id}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bambumeta.software/brands/{brand_id}/wallets/{pass_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"passId": 12345,
"serialNumber": "88faf0d9-196c-11f1-99ef-0e0d839580d9",
"templateId": 100,
"personId": "550e8400-e29b-41d4-a716-446655440000",
"passdata": {
"points": 0,
"metaData": {
"memberId": "1001"
}
},
"downloadUrl": "https://wallet-pass.bambumeta.software/brand/353/88faf0d9-196c-11f1-99ef-0e0d839580d9",
"downloadUrlApple": "https://wallet-pass.bambumeta.software/brand/353/88faf0d9-196c-11f1-99ef-0e0d839580d9",
"downloadUrlGoogle": "https://pay.google.com/gp/v/save/eyJhbGciOiJFUzI1NiJ9...",
"statusCode": "ACTIVE",
"status": 200
}{
"message": "<string>"
}Authorizations
Response
OK
If provided, this group identifier will be used to group the wallet passes together.
The optional wallet pass tier identifier for updating the tier on the wallet card.
The current message for the wallet pass
Show child attributes
Show child attributes
The download url for the pass
The download url for the pass for Apple Wallet
The download url for the pass for Google Wallet
The status for the pass
The numeric representation of the status