Issue cards
curl --request POST \
--url https://api.finup.io/backend/cards \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"bin_id": "67c401f9a5b7cde210f44567",
"name": "Marketing card"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({bin_id: '67c401f9a5b7cde210f44567', name: 'Marketing card'})
};
fetch('https://api.finup.io/backend/cards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.finup.io/backend/cards"
payload = {
"bin_id": "67c401f9a5b7cde210f44567",
"name": "Marketing card"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"result": [
{
"id": "67c48f6fc8614632e0b338fc",
"name": "Marketing card",
"bin_id": "67bcf2abf8e89d31c5f8995e",
"notes": "Credit",
"status": "Active",
"user": "67aa1b2c3d4e5f6789abcdef",
"EXP": "**/**",
"account": "67c401f9a5b7cde210f44567",
"balance": 50,
"deposit": 1000,
"withdraw": 500,
"spent": 450,
"masked_PAN": "1234 56•• •••• 5678",
"currency": "USD",
"category": "Business",
"created_at": "2023-11-07T05:31:56Z",
"PAN": "1234567812345678",
"CVV": "123",
"3ds": true,
"address": "2381 Zanker Rd Ste 110, San Jose, CA, 95131, US"
}
]
}Cards
Issue cards
POST
/
cards
Issue cards
curl --request POST \
--url https://api.finup.io/backend/cards \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"bin_id": "67c401f9a5b7cde210f44567",
"name": "Marketing card"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({bin_id: '67c401f9a5b7cde210f44567', name: 'Marketing card'})
};
fetch('https://api.finup.io/backend/cards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.finup.io/backend/cards"
payload = {
"bin_id": "67c401f9a5b7cde210f44567",
"name": "Marketing card"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"result": [
{
"id": "67c48f6fc8614632e0b338fc",
"name": "Marketing card",
"bin_id": "67bcf2abf8e89d31c5f8995e",
"notes": "Credit",
"status": "Active",
"user": "67aa1b2c3d4e5f6789abcdef",
"EXP": "**/**",
"account": "67c401f9a5b7cde210f44567",
"balance": 50,
"deposit": 1000,
"withdraw": 500,
"spent": 450,
"masked_PAN": "1234 56•• •••• 5678",
"currency": "USD",
"category": "Business",
"created_at": "2023-11-07T05:31:56Z",
"PAN": "1234567812345678",
"CVV": "123",
"3ds": true,
"address": "2381 Zanker Rd Ste 110, San Jose, CA, 95131, US"
}
]
}Authorizations
Body
application/json
Example:
"67c401f9a5b7cde210f44567"
Example:
"Marketing card"
Example:
"67fc3d09766d7a2c1fafef99"
Example:
"Q3 campaigns"
Example:
25
Example:
100
Example:
1
Example:
100
Example:
"WELCOME"
Response
Success
Show child attributes
Show child attributes
⌘I