Skip to main content
GET
https://apis.hopnow.io
/
v1
/
accounts
/
{account_id}
/
payins
List Payins
curl --request GET \
  --url https://apis.hopnow.io/v1/accounts/{account_id}/payins \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "object": "<string>",
      "account_id": "<string>",
      "amount": "<string>",
      "currency": "<string>",
      "status": "<string>",
      "initiated_at": "<string>",
      "created": "<string>"
    }
  ],
  "page": 123,
  "size": 123,
  "total": 123,
  "pages": 123
}

Path Parameters

account_id
string
required
The account’s external ID (starts with acc_)

Query Parameters

status
string
Filter by payin status (e.g., pending, processing, completed, failed)
currency
string
Filter by ISO 4217 currency code (e.g., USD, EUR, GBP)
payment_method
string
Filter by payment method (e.g., bank_transfer, card, crypto)
start_date
string
Filter payins created on or after this date (ISO 8601 format)
end_date
string
Filter payins created before this date (ISO 8601 format)
page
integer
default:"1"
Page number (minimum 1)
size
integer
default:"10"
Items per page (1-100)

Response

items
array
Array of payin objects
page
integer
Current page number
size
integer
Items per page
total
integer
Total number of items
pages
integer
Total number of pages

Response Example

{
  "items": [
    {
      "id": "pin_1234567890abcdef",
      "object": "payin",
      "account_id": "acc_1234567890abcdef",
      "amount": "1000.00",
      "currency": "USD",
      "network": null,
      "amount_in_usd": "1000.00",
      "status": "completed",
      "provider_reference_id": "trace_123",
      "initiated_at": "2024-01-15T10:00:00Z",
      "completed_at": "2024-01-15T10:05:00Z",
      "failed_at": null,
      "failed_reason": null,
      "created": "2024-01-15T10:00:00Z",
      "updated": "2024-01-15T10:05:00Z"
    }
  ],
  "page": 1,
  "size": 10,
  "total": 1,
  "pages": 1
}