Operaciones API

Endpoints para operaciones

Lista de operaciones

GET /internal/admin/operations

Retorna una lista de operaciones.

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
type Tipo de operacion, opciones: cash-in, cash-out.
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/operations

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/"f4bcbe00d2ed525fa8dfb56289b16f7a"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 5279c8c1-f8ef-4a9c-87d6-9046a5684d3b
X-Runtime: 0.047438
Vary: Origin
Content-Length: 4894

Status

200 OK

Body

{
  "data": [
    {
      "id": 101,
      "status": "request",
      "currency_in": "usd",
      "amount_in": "2062.92",
      "currency_out": "doc",
      "amount_out": "7787.12",
      "comment": null,
      "tx_hash": null,
      "url_voucher_image": null,
      "created_at": "2023-03-30T00:51:13.152Z",
      "client": {
        "id": 7,
        "first_name": "Zandra",
        "last_name": "Barrows",
        "nationality": "Barbadians",
        "gender": "Male",
        "marital_status": "married",
        "politically_exposed": false,
        "birthday": "1990-09-12",
        "client_id": 10045,
        "created_at": "2023-03-30T00:51:13.145Z",
        "updated_at": "2023-03-30T00:51:13.145Z",
        "document_type": "dni",
        "document_number": "59-5392720",
        "state": "pending"
      },
      "merchant": {
        "id": 10044,
        "name": "Mraz, Rempel and Wiza"
      },
      "type": "cash-in",
      "commission": {
        "percentage": 0.5
      },
      "updated_at": "2023-03-30T00:51:13.152Z",
      "payment_method": {
      },
      "reference_2": null,
      "metadata": {
        "network_in": "tron"
      },
      "kyc": false,
      "payment_data": null
    },
    {
      "id": 102,
      "status": "request",
      "currency_in": "usd",
      "amount_in": "2743.95",
      "currency_out": "doc",
      "amount_out": "1070.33",
      "comment": null,
      "tx_hash": null,
      "url_voucher_image": null,
      "created_at": "2023-03-30T00:51:13.165Z",
      "client": {
        "id": 7,
        "first_name": "Zandra",
        "last_name": "Barrows",
        "nationality": "Barbadians",
        "gender": "Male",
        "marital_status": "married",
        "politically_exposed": false,
        "birthday": "1990-09-12",
        "client_id": 10045,
        "created_at": "2023-03-30T00:51:13.145Z",
        "updated_at": "2023-03-30T00:51:13.145Z",
        "document_type": "dni",
        "document_number": "59-5392720",
        "state": "pending"
      },
      "merchant": {
        "id": 10044,
        "name": "Mraz, Rempel and Wiza"
      },
      "type": "cash-in",
      "commission": {
        "percentage": 0.5
      },
      "updated_at": "2023-03-30T00:51:13.165Z",
      "payment_method": {
      },
      "reference_2": null,
      "metadata": {
        "network_in": "tron"
      },
      "kyc": false,
      "payment_data": null
    },
    {
      "id": 103,
      "status": "request",
      "currency_in": "usd",
      "amount_in": "1074.31",
      "currency_out": "doc",
      "amount_out": "8859.65",
      "comment": null,
      "tx_hash": null,
      "url_voucher_image": null,
      "created_at": "2023-03-30T00:51:13.183Z",
      "client": {
        "id": 7,
        "first_name": "Zandra",
        "last_name": "Barrows",
        "nationality": "Barbadians",
        "gender": "Male",
        "marital_status": "married",
        "politically_exposed": false,
        "birthday": "1990-09-12",
        "client_id": 10045,
        "created_at": "2023-03-30T00:51:13.145Z",
        "updated_at": "2023-03-30T00:51:13.145Z",
        "document_type": "dni",
        "document_number": "59-5392720",
        "state": "pending"
      },
      "merchant": {
        "id": 10044,
        "name": "Mraz, Rempel and Wiza"
      },
      "type": "cash-in",
      "commission": {
        "percentage": 0.5
      },
      "updated_at": "2023-03-30T00:51:13.183Z",
      "payment_method": {
      },
      "reference_2": null,
      "metadata": {
        "network_in": "tron"
      },
      "kyc": false,
      "payment_data": null
    },
    {
      "id": 104,
      "status": "request",
      "currency_in": "usd",
      "amount_in": "8814.66",
      "currency_out": "doc",
      "amount_out": "5846.09",
      "comment": null,
      "tx_hash": null,
      "url_voucher_image": null,
      "created_at": "2023-03-30T00:51:13.196Z",
      "client": {
        "id": 7,
        "first_name": "Zandra",
        "last_name": "Barrows",
        "nationality": "Barbadians",
        "gender": "Male",
        "marital_status": "married",
        "politically_exposed": false,
        "birthday": "1990-09-12",
        "client_id": 10045,
        "created_at": "2023-03-30T00:51:13.145Z",
        "updated_at": "2023-03-30T00:51:13.145Z",
        "document_type": "dni",
        "document_number": "59-5392720",
        "state": "pending"
      },
      "merchant": {
        "id": 10044,
        "name": "Mraz, Rempel and Wiza"
      },
      "type": "cash-out",
      "commission": {
        "percentage": 0.5
      },
      "updated_at": "2023-03-30T00:51:13.196Z",
      "payment_method": {
      },
      "reference_2": null,
      "metadata": {
      },
      "kyc": false,
      "payment_data": null
    },
    {
      "id": 105,
      "status": "request",
      "currency_in": "usd",
      "amount_in": "9399.82",
      "currency_out": "doc",
      "amount_out": "9352.32",
      "comment": null,
      "tx_hash": null,
      "url_voucher_image": null,
      "created_at": "2023-03-30T00:51:13.212Z",
      "client": {
        "id": 7,
        "first_name": "Zandra",
        "last_name": "Barrows",
        "nationality": "Barbadians",
        "gender": "Male",
        "marital_status": "married",
        "politically_exposed": false,
        "birthday": "1990-09-12",
        "client_id": 10045,
        "created_at": "2023-03-30T00:51:13.145Z",
        "updated_at": "2023-03-30T00:51:13.145Z",
        "document_type": "dni",
        "document_number": "59-5392720",
        "state": "pending"
      },
      "merchant": {
        "id": 10044,
        "name": "Mraz, Rempel and Wiza"
      },
      "type": "cash-out",
      "commission": {
        "percentage": 0.5
      },
      "updated_at": "2023-03-30T00:51:13.212Z",
      "payment_method": {
      },
      "reference_2": null,
      "metadata": {
      },
      "kyc": false,
      "payment_data": null
    },
    {
      "id": 106,
      "status": "request",
      "currency_in": "usd",
      "amount_in": "5109.61",
      "currency_out": "doc",
      "amount_out": "3061.03",
      "comment": null,
      "tx_hash": null,
      "url_voucher_image": null,
      "created_at": "2023-03-30T00:51:13.226Z",
      "client": {
        "id": 7,
        "first_name": "Zandra",
        "last_name": "Barrows",
        "nationality": "Barbadians",
        "gender": "Male",
        "marital_status": "married",
        "politically_exposed": false,
        "birthday": "1990-09-12",
        "client_id": 10045,
        "created_at": "2023-03-30T00:51:13.145Z",
        "updated_at": "2023-03-30T00:51:13.145Z",
        "document_type": "dni",
        "document_number": "59-5392720",
        "state": "pending"
      },
      "merchant": {
        "id": 10044,
        "name": "Mraz, Rempel and Wiza"
      },
      "type": "cash-out",
      "commission": {
        "percentage": 0.5
      },
      "updated_at": "2023-03-30T00:51:13.226Z",
      "payment_method": {
      },
      "reference_2": null,
      "metadata": {
      },
      "kyc": false,
      "payment_data": null
    }
  ],
  "current_page": 1,
  "per_page": 25,
  "total_pages": 1,
  "total_elements": 6
}