Skip to main content
Glama
zvika-finally

Marqeta DiVA API MCP Server

get_declines

Retrieve declined transaction data including reasons, merchant details, and amounts from Marqeta's DiVA API. Supports aggregation by day, week, or month with filtering capabilities for analyzing payment failures.

Instructions

Get declined transaction data. Includes transaction tokens, decline reasons, merchant information, and amounts. Supports detail, day, week, and month aggregation. Note: DiVA API limits results to 10,000 records per query. Use narrower date ranges or more specific filters for larger datasets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aggregationNoAggregation level for the datadetail
fieldsNoSpecific fields to return
filtersNoFilters on data fields. For date filtering, use actual date field names with operators (e.g., {'post_date': '>=2023-10-20'})
sort_byNoField to sort by
countNoMaximum records to return (up to 10,000, default 10,000)
programNoOverride default program

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zvika-finally/marqeta-diva-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server