Skip to main content
GET
/
greendot
List Green Dot Cash Loads
curl --request GET \
  --url https://api.treasuryprime.com/greendot \
  --header 'Authorization: Basic <encoded-value>'
{
  "data": [
    {
      "account_id": "acct_1234567890",
      "amount": "25.00",
      "authorized_at": "2024-01-15T14:30:00Z",
      "available_at": null,
      "bank_id": "bank_vado",
      "barcode_number": "1234567890",
      "channel_type": "mobile",
      "completed_at": null,
      "created_at": "2024-01-15T14:30:00Z",
      "device_type": "mobile",
      "email_address": "example@example.com",
      "expired_at": null,
      "id": "gdep_1029384756",
      "ip_address": "192.168.1.100",
      "latitude": "39.724121",
      "longitude": "-94.793228",
      "retailer_key": "1234",
      "status": "pending",
      "updated_at": "2024-01-15T14:30:00Z",
      "voided_at": null
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

account_id
string

ID of the Account receiving the cash load. Filterable.

status
string

Current status of the cash load. Filterable.

page_cursor
string

Pagination cursor, value is the object ID.

page_size
integer
default:100

Limits the number of objects in the returned list, value must be a number greater than or equal to 1. Defaults to 100.

Required range: x >= 1
from_date
string

Lists the objects created on the date provided and onwards. Date must be in ISO 8601 format (“YYYY-MM-DD”).

to_date
string

Lists the objects created before the date provided. Date must be in ISO 8601 format (“YYYY-MM-DD”).

Response

200 - application/json

A dictionary with a data property that contains a list of up to page_size greendot elements, starting after the greendot described by page_cursor. If no more greendots are available, the resulting list will be empty.

data
object[]