Misc
Miscellaneous APIs that we think you might find useful
Get all cardholders
You can use this endpoint to get all the cardholders that have been created in your account.
curl --location --request GET 'https://issuecards.api.bridgecard.co/v1/issuing/sandbox/cards/get_all_cardholder?page=1' \
--header 'token: Bearer *****' \
--data-raw ''import requests
url = "https://issuecards.api.bridgecard.co/v1/issuing/sandbox/cards/get_all_cardholder?page=1"
payload = ""
headers = {
'token': 'Bearer *****'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
var request = require('request');
var options = {
'method': 'GET',
'url': 'https://issuecards.api.bridgecard.co/v1/issuing/sandbox/cards/get_all_cardholder?page=1',
'headers': {
'token': 'Bearer *****'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
Get all issued cards
This endpoint returns a list of all the cards that you have issued on your account
curl --location --request GET 'https://issuecards.api.bridgecard.co/v1/issuing/sandbox/cards/get_all_cards?page=1' \
--header 'token: Bearer *****' \
--data-raw ''import requests
url = "https://issuecards.api.bridgecard.co/v1/issuing/sandbox/cards/get_all_cards?page=1"
payload = ""
headers = {
'token': 'Bearer *****'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
var request = require('request');
var options = {
'method': 'GET',
'url': 'https://issuecards.api.bridgecard.co/v1/issuing/sandbox/cards/get_all_cards?page=1',
'headers': {
'token': 'Bearer *****'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
Fund issuing wallet
SANDBOX
You can use this endpoint to credit your issuing wallet with some fake money in the sandbox environment.
PRODUCTION
To begin the process of funding your account in production:
Login to your dashboard.
Click the + icon on your production wallet on your dashboard to begin the transfer process.

Note: We now support funding your production account automatically in USDT, XAF and UGX.
Get issuing wallet balance
You can use this wallet to fetch the current balance on your issuing wallet.
Get FX rate
This endpoint provides you with the rates at which we perform trades from local currencies to the USD.
This endpoint is rate limited once every minute(fx_rate).
Get all states
This endpoint provides you with a list of states under a country.
Get card details using Token
You can also generate card details using a secure token and in a PCIDSS-compliant way, so you can stay out of scope and not interface with the user's sensitive card details. Please see the steps below.
Your client side application should make a request to your backend asking it for a token that it can use to view the users card details.
Your backend will authorize this request and then make an API call to Bridgecard's API to get a onetime token, valid for 5mins to view the card details. Your backend can request for this token from Bridgecard by calling this endpoint.
Your backend should send your client-side application this token as a response.
Your client side will then make a request to Bridgecard's API to fetch the decrypted details, using the endpoint below.
Last updated