Skip to main content
GET
/
connections
List connections
curl --request GET \
  --url https://api.lavapayments.com/v1/connections \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "connection_id": "con_01K7QJT2YR00E6FF5B9WAXP0GB",
      "connection_secret": "cons_live_FhJCPNbrfViJFCiCQp8bWQEel20z18UyA39ZP22LfJ0AdB9h9kVX_D",
      "reference_id": "customer_123456",
      "wallet": {
        "balance": "125.5000000000",
        "phone": "+14155552671",
        "email": "[email protected]",
        "first_name": "Jane",
        "last_name": "Smith",
        "autopay_enabled": true
      },
      "next_usage_reset": "2023-05-15T08:35:42Z",
      "previous_usage_reset": "2023-05-15T08:35:42Z",
      "created_at": "2023-05-15T08:35:42Z"
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'

Query Parameters

cursor
string

Pagination cursor from a previous response

limit
integer
default:10

Maximum number of results to return (1-100)

Required range: 1 <= x <= 100
reference_id
string

Filter connections by your custom reference ID

Response

List of connections

data
object[]
has_more
boolean
next_cursor
string