Kriptopayments API

Endpoints para Kriptopayments

Lista de kriptopayments

GET /internal/admin/kriptopayments

Retorna una lista de kriptopayments.

Parameters

Name Description
per_page Cantidad de recursos por pagina
page Pagina
column Columna por la cual ordenar opciones: created_at
order_column ASC o DESC
merchant_id Filtra las operaciones por un merchant
client_id Filtra las operacion por un cliente
state Filtra las operaciones por status

Request

Headers

Content-Type: application/json
Authorization: Bearer <token>
Host: example.org
Cookie: 

Route

GET /internal/admin/kriptopayments

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/json; charset=utf-8
ETag: W/"0f813e68a6dfd19c8929b4df4a434e5d"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 352ea015-11e8-44e6-85cb-ccad77188ed6
X-Runtime: 0.125831
Vary: Origin
Content-Length: 4194

Status

200 OK

Body

{
  "data": [
    {
      "id": 1,
      "fiat": "usd",
      "fiat_price": "97.0",
      "crypto_price": "0.0",
      "crypto_earn": "0.0",
      "status": "wait",
      "reference": null,
      "attachments": [
        {
          "id": 1,
          "url": "https://cash-kriptonmarket-development.s3.amazonaws.com/kriptopayments/5/front-1624142064.jpg",
          "kind": "document"
        }
      ],
      "merchant": {
        "id": 5000,
        "name": "Kriptonmarket"
      },
      "crypto_to_pay": "0.0",
      "created_at": "2023-03-30T00:50:54.892Z",
      "client": {
        "id": 10014,
        "username": "Jonnie@gmail.com"
      },
      "payment_data": null,
      "crypto_network": {
        "id": 24,
        "name": "Stellar",
        "currency_id": "stellar",
        "created_at": "2023-03-30T00:50:27.562Z",
        "updated_at": "2023-03-30T00:50:27.562Z",
        "fee": "0.0",
        "address": null,
        "focused_to_pay": true,
        "icon": null,
        "focused_to_create": true,
        "focused_to_withdrawals": true,
        "smart_contract": null,
        "chain_id": null,
        "decimal_places": null,
        "denomination": null,
        "wallet_connect": false,
        "explorer": null
      }
    },
    {
      "id": 2,
      "fiat": "usd",
      "fiat_price": "7.0",
      "crypto_price": "0.0",
      "crypto_earn": "0.0",
      "status": "wait",
      "reference": null,
      "attachments": [
        {
          "id": 2,
          "url": "https://cash-kriptonmarket-development.s3.amazonaws.com/kriptopayments/5/front-1624142064.jpg",
          "kind": "document"
        }
      ],
      "merchant": {
        "id": 5000,
        "name": "Kriptonmarket"
      },
      "crypto_to_pay": "0.0",
      "created_at": "2023-03-30T00:50:55.252Z",
      "client": {
        "id": 10014,
        "username": "Jonnie@gmail.com"
      },
      "payment_data": null,
      "crypto_network": {
        "id": 24,
        "name": "Stellar",
        "currency_id": "stellar",
        "created_at": "2023-03-30T00:50:27.562Z",
        "updated_at": "2023-03-30T00:50:27.562Z",
        "fee": "0.0",
        "address": null,
        "focused_to_pay": true,
        "icon": null,
        "focused_to_create": true,
        "focused_to_withdrawals": true,
        "smart_contract": null,
        "chain_id": null,
        "decimal_places": null,
        "denomination": null,
        "wallet_connect": false,
        "explorer": null
      }
    },
    {
      "id": 3,
      "fiat": "usd",
      "fiat_price": "70.0",
      "crypto_price": "0.0",
      "crypto_earn": "0.0",
      "status": "wait",
      "reference": null,
      "attachments": [
        {
          "id": 3,
          "url": "https://cash-kriptonmarket-development.s3.amazonaws.com/kriptopayments/5/front-1624142064.jpg",
          "kind": "document"
        }
      ],
      "merchant": {
        "id": 5000,
        "name": "Kriptonmarket"
      },
      "crypto_to_pay": "0.0",
      "created_at": "2023-03-30T00:50:55.590Z",
      "client": {
        "id": 10014,
        "username": "Jonnie@gmail.com"
      },
      "payment_data": null,
      "crypto_network": {
        "id": 24,
        "name": "Stellar",
        "currency_id": "stellar",
        "created_at": "2023-03-30T00:50:27.562Z",
        "updated_at": "2023-03-30T00:50:27.562Z",
        "fee": "0.0",
        "address": null,
        "focused_to_pay": true,
        "icon": null,
        "focused_to_create": true,
        "focused_to_withdrawals": true,
        "smart_contract": null,
        "chain_id": null,
        "decimal_places": null,
        "denomination": null,
        "wallet_connect": false,
        "explorer": null
      }
    },
    {
      "id": 4,
      "fiat": "usd",
      "fiat_price": "98.0",
      "crypto_price": "0.0",
      "crypto_earn": "0.0",
      "status": "wait",
      "reference": null,
      "attachments": [
        {
          "id": 4,
          "url": "https://cash-kriptonmarket-development.s3.amazonaws.com/kriptopayments/5/front-1624142064.jpg",
          "kind": "document"
        }
      ],
      "merchant": {
        "id": 5000,
        "name": "Kriptonmarket"
      },
      "crypto_to_pay": "0.0",
      "created_at": "2023-03-30T00:50:55.921Z",
      "client": {
        "id": 10014,
        "username": "Jonnie@gmail.com"
      },
      "payment_data": null,
      "crypto_network": {
        "id": 24,
        "name": "Stellar",
        "currency_id": "stellar",
        "created_at": "2023-03-30T00:50:27.562Z",
        "updated_at": "2023-03-30T00:50:27.562Z",
        "fee": "0.0",
        "address": null,
        "focused_to_pay": true,
        "icon": null,
        "focused_to_create": true,
        "focused_to_withdrawals": true,
        "smart_contract": null,
        "chain_id": null,
        "decimal_places": null,
        "denomination": null,
        "wallet_connect": false,
        "explorer": null
      }
    },
    {
      "id": 5,
      "fiat": "usd",
      "fiat_price": "7.0",
      "crypto_price": "0.0",
      "crypto_earn": "0.0",
      "status": "wait",
      "reference": null,
      "attachments": [
        {
          "id": 5,
          "url": "https://cash-kriptonmarket-development.s3.amazonaws.com/kriptopayments/5/front-1624142064.jpg",
          "kind": "document"
        }
      ],
      "merchant": {
        "id": 5000,
        "name": "Kriptonmarket"
      },
      "crypto_to_pay": "0.0",
      "created_at": "2023-03-30T00:50:56.228Z",
      "client": {
        "id": 10014,
        "username": "Jonnie@gmail.com"
      },
      "payment_data": null,
      "crypto_network": {
        "id": 24,
        "name": "Stellar",
        "currency_id": "stellar",
        "created_at": "2023-03-30T00:50:27.562Z",
        "updated_at": "2023-03-30T00:50:27.562Z",
        "fee": "0.0",
        "address": null,
        "focused_to_pay": true,
        "icon": null,
        "focused_to_create": true,
        "focused_to_withdrawals": true,
        "smart_contract": null,
        "chain_id": null,
        "decimal_places": null,
        "denomination": null,
        "wallet_connect": false,
        "explorer": null
      }
    }
  ],
  "current_page": 1,
  "per_page": 25,
  "total_pages": 1,
  "total_elements": 5
}