List All Declined Card Authorizations (Program)

Retrieves all declined card authorizations belonging to a program
Program
List All Declined Card Authorizations (Program)
 last updated: 
November 30, 2023

ENDPOINT

  1. GET /v1/program/:id/card/declined

FILTERS

The table below describes various filters that can be passed as query parameters to narrow the response.

Filter Type Description
offset int start index (default = 0)
limit int number of records to return (default = 25, max = 100)
orderBy enum sort the list of transactions by createdAt or txtDate, for example:
?orderBy=createdAt → order by createdAt ascending order
?orderBy=-createdAt → order by createdAt descending order (default if not passed)
?orderBy=txnDate → order by txnDate ascending order
?orderBy=-txnDate → order by txnDate descending order (default if not passed)
cardId string card ID
reason string card declined reason code
approved bool indicates whether RTA was approved


RESPONSE

  1. {
  2.   "total": 1,
  3.   "data": [
  4.     {
  5.       "cardId": "crd-1e4246f4-3fa8-425e-8ab6-f6aeeef7cf62",
  6.       "amount": "9.99",
  7.       "currency": "USD",
  8.       "status": "closed",
  9.       "reason": "lowBalance",
  10.       "approved": "false",
  11.       "method": "",
  12.       "merchant": {
  13.         "merchantName": "XSOLLA *ROBLOX",
  14.         "merchantCity": "XSOLLA.COM",
  15.         "merchantState": "CA",
  16.         "merchantCountry": "USA",
  17.         "postalCode": "",
  18.         "merchantCategory": "Digital Goods – Games",
  19.         "merchantCategoryCode": "5816",
  20.         "merchantId": ""
  21.       },
  22.       "createdAt": "2022-11-21T14:47:57Z",
  23.       "authMethod": "other",
  24.       "wallet": ""
  25.     }
  26.   ]
  27. }