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

Please note that due to rate-limiting, you might need to paginate and call the declined transactions list a few times.

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

Headers:
  • X-RateLimit-Limit - Maximum requests allowed
  • X-RateLimit-Remaining - Requests remaining in current window
  • X-RateLimit-Reset - Time when the rate limit resets (Unix timestamp)