Modules
Production-grade Elixir client for the Marqeta Core, Credit, and DiVA APIs.
Enable third-party ACH credits and debits directly to account holder GPAs. Supports inbound ACH pull and push payments.
Restrict which countries cardholders may transact in. Can be associated with a card product or individual cards.
ACH funding sources for individual account holders.
Apply shared settings to groups of account holders simultaneously. Useful for tiered products and bulk configuration.
List and manage billing addresses for users, businesses, and funding sources.
Rule-based controls that restrict which merchants cardholders can transact with.
Automatically reload a user's GPA when the balance falls below a threshold.
Retrieve GPA and MSA balance details for users and businesses.
Order physical cards in bulk. Bulk orders share a single card product and fulfillment configuration.
Manage business state transitions (UNVERIFIED → LIMITED → ACTIVE → SUSPENDED → CLOSED).
Business account holders with KYC via EIN and beneficial owner structures. Businesses can own cards and hold GPAs.
Card product templates that define card behaviour, fulfillment, JIT funding mode, velocity controls, contactless SCA limits, and more.
Manage card state transitions.
Create and retrieve cardholder statements for prepaid accounts.
Create and manage physical and virtual payment cards.
Issue physical refund cheques when closing accounts with residual balances.
Core HTTP client for the Marqeta API.
Commando Mode is a fallback decision system that activates when your Gateway JIT endpoint is unreachable or too slow.
Configuration for the Marqeta client.
Create and manage credit accounts (the core object of the credit platform).
Manually adjust the amount of a journal entry or account balance.
Manage the credit card application lifecycle, including regulatory disclosure retrieval and status transitions.
Issue balance refunds on a credit account with a negative balance.
Bundles combine credit product policies into a single configurable template.
Cards that access a credit account's credit line.
Retrieve and manage credit account delinquency state.
Create and manage disputes on a credit account.
Read journal entries on a credit account. Includes purchases, interest, fees, rewards, payments, and adjustments. Journal entries are read-only — created by the platform.
Read ledger entries on a credit account with balance impact details.
Schedule one-time or recurring payments on a credit account.
Manage external payment sources for credit account payments.
Create and retrieve payments to pay down credit account balances.
Manage policy configurations: documents, APRs, fees, and rewards. Policies are attached to bundles which are then attached to accounts.
Credit products define the behaviours and features of credit accounts.
Manage program gateways for credit platform integrations.
Issue refunds on a credit account.
Manage and query reward accounts linked to credit accounts.
Manage conversion rates applied when redeeming reward points.
Global reward program configuration (expiry, rounding, currency).
Create and retrieve reward redemptions on credit accounts.
Manage reward earning rules (e.g. 3x on dining, 1.5x on everything else).
Create one-time, non-recurring rewards on a credit account.
Retrieve billing cycle statements for credit accounts.
Apply or remove substatuses for fine-grained state management. Substatuses overlay the primary account status without replacing it.
Transition a credit account to a new status (ACTIVE, SUSPENDED, CLOSED, etc.).
Full lifecycle management for deposit (checking/savings) accounts. Distinct from GPA — deposit accounts support direct deposit and ACH.
The DiVA (Data and Insights Visualization API) provides high-performance, read-only access to aggregated, denormalised reporting views over all Core API and Credit API data.
ACH gateway reporting: returns, NOCs (notifications of change), and pre-notifications.
ACH origination reporting: all ACH transfers originated by the program.
ACH pending records: transfers awaiting settlement.
ACH micro-deposit verification records.
GPA balance snapshots aggregated by day per user.
GPA balance snapshots aggregated by funding day.
GPA balance activity broken down by network (Visa, Mastercard, etc.).
All authorization attempts (approvals and declines).
Card inventory counts aggregated by day and card state.
Denormalised card inventory records with fulfillment and lifecycle data.
Chargeback records and dispute outcomes.
Individual clearing file records with interchange information.
Look up DiVA records by Core API transaction token for cross-system correlation.
Credit account manual adjustment records.
Daily balance snapshots for credit accounts.
Denormalised credit account reporting data.
Denormalised credit card data for credit platform accounts.
Credit account dispute records with resolution status.
Credit account journal entries: purchases, payments, fees, interest, rewards.
Credit account ledger entries with balance impact amounts.
Credit account payment records.
Credit reward accruals, redemptions, and current balances.
Credit account billing cycle statement data.
Retrieve field definitions, types, and descriptions for any DiVA view.
All declined authorization attempts with reason codes.
Direct deposit (ACH inbound) transaction reporting.
GPA funding events: loads, reloads, and unloads.
JIT Gateway performance metrics.
Program-level balance settlement data by settlement date.
Program funding source balance history.
Real-Time Decisioning authorization data. Includes rule evaluation results and decision for each authorization.
Real-Time Decisioning transaction counts aggregated by rule.
Cleared and settled transaction records.
User count aggregates by day and KYC state.
Denormalised user records with KYC and account holder data.
Lists all available DiVA view names.
Manage digital wallet token provisioning and lifecycle. Supports Apple Pay, Google Pay, and Samsung Pay.
Submit and manage evidence documents for transaction disputes. Evidence includes receipts, cardholder letters, screenshots, etc.
Manage Mastercard network transaction disputes end-to-end.
Manage PULSE network transaction disputes end-to-end.
Manage Visa network transaction disputes end-to-end.
Structured error type returned by all Marqeta API functions.
Reference module documenting all Marqeta webhook event type strings.
Assess fees from account holder GPAs to the program fee account.
References a fee template created via Marqeta.Fees.
Return previously charged fees to an account holder's GPA.
Define fee templates for your program (monthly, annual, transaction, etc.).
Submit fraud feedback on completed transactions.
Initiate ACH transfers between a Marqeta funding source and an external bank. Supports peer transfers, program transfers, and fee transfers entirely within the Marqeta platform.
Load and unload funds in user and business General Purpose Accounts (GPAs).
Utilities for handling Gateway Just-in-Time (JIT) Funding requests.
Behaviour for the Marqeta HTTP client. Implement this to provide a test double.
Fund a Marqeta-issued card from an external debit or prepaid card using card network push-payment rails (Visa Direct / MC Send).
Move funds between GPAs owned by the same account holder. Both source and destination must belong to the same user or business.
Know Your Customer (KYC) identity verification for US account holders.
Group Merchant Category Codes (MCCs) for bulk application to authorization controls and card product configurations.
Group specific merchants (by MID) for use in authorization controls.
Set, update, and reveal PINs for payment cards.
Pagination cursor helpers for Marqeta list endpoints.
Program funding sources — bank accounts used for Managed JIT Funding.
Program gateway funding sources — used with Gateway JIT Funding.
Manage your program reserve account — the pool of funds your program operates from. Credit and debit the reserve, and query its balance.
Move funds from a user's GPA back to the program funding source. Used for account closures, chargebacks, and operational transfers.
Token-bucket rate limiter for the Marqeta API.
Shared macro for all Marqeta resource modules.
Sandbox bootstrapping helpers for development and testing.
Programmatically create, retrieve, and delete admin access tokens.
Simulate card transactions in the sandbox environment.
Lazy streaming over paginated Marqeta list endpoints.
Manage program subscription configurations and recurring billing setups.
Telemetry integration for the Marqeta client.
3D Secure (3DS) decision service.
Use Marqeta's tokenization infrastructure even when Marqeta is not your issuer-processor (TaaS).
Retrieve transaction records. Transactions are read-only — they are created by Marqeta when cardholders transact.
API for Marqeta's pre-built UX Toolkit card management components.
Manage user state transitions (UNVERIFIED → LIMITED → ACTIVE → SUSPENDED → CLOSED).
Manage individual cardholders (users) on the Marqeta platform.
Limit how much and how frequently users can spend.
Create and manage webhook endpoints for real-time event notifications.