Skip to main content
GET
/
connections
/
{connection_id}
Get connection
curl --request GET \
  --url https://api.lava.so/v1/connections/{connection_id} \
  --header 'Authorization: Bearer <token>'
{
  "connection_id": "con_test_01KJHF4SFK3XSHV90AB3FAWR6G",
  "has_lava_credit_balance": true,
  "customer": {
    "phone": "+14155552671",
    "email": "user@example.com",
    "first_name": "Jane",
    "last_name": "Smith"
  },
  "subscription": {
    "subscription_id": "<string>",
    "subscription_config_id": "<string>",
    "name": "<string>",
    "status": "active"
  },
  "created_at": "2023-05-15T08:35:42Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

connection_id
string
required

Connection ID

Response

Connection details

connection_id
string
required

Unique identifier for the connection between a merchant and a wallet

Example:

"con_test_01KJHF4SFK3XSHV90AB3FAWR6G"

has_lava_credit_balance
boolean
required

Whether the user has a positive Lava credit balance

Example:

true

customer
object
required
subscription
object
required

Active subscription summary, or null if none

created_at
string<date-time>
required

ISO 8601 timestamp when the connection was created

Example:

"2023-05-15T08:35:42Z"