Retirement API

Muestra los retiros para el merchant.

Lista de retirements

GET /internal/v1/merchants/retirements

Retorna una lista de retirements.

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
payment_method_type Tipo de metodo de pago

Request

Headers

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

Route

GET /internal/v1/merchants/retirements

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/"9a7f4ca43953d04302b8c16c2223baa2"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: a0bd07ce-4fbc-4dc6-94d3-bc842bae27d1
X-Runtime: 0.041830
Vary: Origin
Content-Length: 844

Status

200 OK

Body

{
  "data": [
    {
      "id": 102,
      "amount": "8614.05",
      "state": "pending",
      "payment_method": "Bank",
      "movements": [

      ],
      "created_at": "2022-10-05T15:55:51.000Z"
    },
    {
      "id": 103,
      "amount": "8158.78",
      "state": "pending",
      "payment_method": "Bank",
      "movements": [

      ],
      "created_at": "2022-10-05T15:55:51.000Z"
    },
    {
      "id": 104,
      "amount": "9927.97",
      "state": "pending",
      "payment_method": "Bank",
      "movements": [

      ],
      "created_at": "2022-10-05T15:55:51.000Z"
    },
    {
      "id": 105,
      "amount": "6109.43",
      "state": "pending",
      "payment_method": "Wallet",
      "movements": [

      ],
      "created_at": "2022-10-05T15:55:51.000Z"
    },
    {
      "id": 106,
      "amount": "6072.98",
      "state": "pending",
      "payment_method": "Wallet",
      "movements": [

      ],
      "created_at": "2022-10-05T15:55:51.000Z"
    },
    {
      "id": 107,
      "amount": "1036.38",
      "state": "pending",
      "payment_method": "Wallet",
      "movements": [

      ],
      "created_at": "2022-10-05T15:55:51.000Z"
    }
  ],
  "current_page": 1,
  "per_page": 25,
  "total_pages": 1,
  "total_elements": 6
}