Retrieve one
Returns a single vendor card by id, including its current limits, allocations, and balances. Visible to admins, holders of the vendor_cards_view / vendor_cards_manage permission, or the cardholder the card belongs to.
In addition to the base card fields, the detail response exposes computed fields not present on the list endpoint: spent_in_interval_with_limit_currency, vendor_max_spending_limits, vendor_max_allocation, non_sensitive_information, last_allocation_transaction_status, last_allocation_transaction_created_at, and allocation_priority_stats. When the caller can read the company balance, company_expendable_balance_in_limit_currency is also included. The sensitive vendor_data blob is always excluded — use the retrieve endpoint for PAN/CVC.
Request
- Base URLhttps://api.cardda.com
- URLhttps://api.cardda.com/v1/vendor_cards/{vendor_card_id}
- AuthHTTP bearer
Path parameters
The id of the vendor card
Parameters
Response
The vendor card.
Example response
{
"id": "Q2FyZDoxMDIwNjQ5Mw==",
"user_id": "U2MGkNZT6zNPKtB85OpJi9SjFvG2",
"type": "PomeloCard",
"name": "AWS",
"last4": "4163",
"status_preference": "inactive",
"migrated": true,
"limit_amount": {
"amount": "3000.0",
"formatted": "$3.000 CLP",
"cents": "3000.0",
"currency_iso": "CLP"
},
"limit_interval": "daily",
"limit_amount_preference": {
"amount": "3000.0",
"formatted": "$3.000 CLP",
"cents": "3000.0",
"currency_iso": "CLP"
},
"allocated_amount": {
"amount": "3000.0",
"formatted": "$3.000 CLP",
"cents": "3000.0",
"currency_iso": "CLP"
},
"allocated_amount_preference": {
"amount": "3000.0",
"formatted": "$3.000 CLP",
"cents": "3000.0",
"currency_iso": "CLP"
},
"recurring_allocation_amount_cents": 50000,
"remaining_balance": "2000.0",
"spent": 472025,
"company_expendable_balance_in_limit_currency": "3200000.0",
"spent_in_interval_with_limit_currency": 472025,
"vendor_max_allocation": {
"amount": "3000.0",
"formatted": "$3.000 CLP",
"cents": "3000.0",
"currency_iso": "CLP"
},
"preference_restricted_spendable": "2000.0",
"spent_in_interval": 472025,
"spent_in_vendor_interval": 472025
}Changes
No recorded changes to this operation across all 1 revision of this API.