logoAccess

List crypto payments

GET
/api/v1/crypto_payments/

Authorization

apiKeyHeader
headerx-api-key<token>

API key for authentication. Generate from the dashboard or via POST /v1/api-keys.

Query Parameters

limit?number
Range1 <= value <= 100
Default20
status?string
customer?string
cursor?string

Header Parameters

x-api-key*string

API key for authentication

Length1 <= length

Response Body

Response for status 200

application/json
  1. response
data*array<>
has_more*boolean
next_cursor*string|null
curl -X GET 'https://api.tryaccess.xyz/api/v1/crypto_payments/' \  -H 'x-api-key: string'
{  "data": [    {      "id": "cp_01JB2X7Q9R8S6T5U4V3W2X1Y0Z",      "object": "crypto_payment",      "status": "waiting",      "failure_reason": "underpaid",      "amount": 250000,      "currency": "ETB",      "pay_with": "usdt_tron",      "pay_amount": "13.162245",      "pay_address": "string",      "pay_memo": "string",      "amount_received": "string",      "fee": "string",      "customer": "string",      "description": "string",      "metadata": null,      "expires_at": "string",      "paid_at": "string",      "created_at": "string",      "updated_at": "string"    }  ],  "has_more": true,  "next_cursor": "string"}

How is this guide?