Skip to main content

Overview

The Declined Transactions API allows you to retrieve a comprehensive history of all financial transactions associated with your account that were declined/failed. This includes purchases, deposits, withdrawals, transfers, bill payments, and all other financial activities. Endpoint Type: GraphQL Query
Authentication: Required (JWT Bearer Token)
Rate Limit: Standard GraphQL rate limits apply
Authorization requiredThis mutation requires LIST_PAYMENT & LIST_PURCHASES scopes. Ensure your access token has been granted this scope before attempting to get a list of declined transactions.

Declined Transaction

The DeclineTransaction object contains information. Here’s the table:

Quick Start

To obtain a list of declined transactions associated with your account, use the getDeclinedTransactions query. This call returns a list of declined transactions details, including the transactionId, amount , status & destination.

Variables

Sample Request

Each page returns at most 20 declined transactions, so paginate to fetch the full list.

Sample Response

The response will contain a list of declined transactions

Filter Options

Example - Get only DECLINED spend accounts

Pagination

Example - Page 1:
Example - Page 2:


Best Practices

1. Use Pagination Effectively

Always check hasNextPage to determine if more results exist:

2. Request Only Needed Fields

Specify only the fields you need to reduce response size:

3. Use Date Filters for Historical Queries

When querying older transactions, always use date filters:

5. Combine Filters Efficiently

Use range filters to narrow results before applying other filters:

Rate Limits

This query shares the GraphQL API’s limits. See Rate limits for the numbers and what a rejected request looks like.