get https://api.mercury.com/api/v1/credit
Response schema:
{
"accounts" : [
{
// Balances in dollars
"availableBalance" : number,
"currentBalance" : number,
"createdAt" : date-time,
"id" : string,
"status": "active" | "deleted" | "pending" | "archived",
}
]
}
The id
field returned here is a valid argument to /accounts
endpoints, such as /accounts/:id/transactions
, where you can fetch credit card transactions and payments to your Credit account.
However, credit card search is not supported by /accounts/:id/cards
, and will be available in forthcoming api endpoints specific to Credit.