# Saldo en bolsa

## Consultar saldo disponible en bolsa

<mark style="color:blue;">`GET`</mark> `https://api.payvalida.com/cashout/v1/operation/available/{merchant}`

`URL Sandbox: https://api-test.payvalida.com/cashout/v1/operation/available`**`/{merchant}`**\
\
Consulta el saldo disponible en la bolsa de cashout

#### Path Parameters

| Name     | Type   | Description                                       |
| -------- | ------ | ------------------------------------------------- |
| merchant | string | Comercio que realiza la operación (30 caracteres) |

#### Query Parameters

| Name     | Type   | Description                                   |
| -------- | ------ | --------------------------------------------- |
| checksum | string | SHA512(merchant+FIXED\_HASH) (512 caracteres) |

{% tabs %}
{% tab title="200 Retorna un json con esta estructura" %}

```
{  
   "code":"0000",
   “text”:”OK”,
   "data":{
    	"available": 8017031,
    	"updatedIn": "2020-01-07T08:43:26.875965Z"
    }
}
```

{% endtab %}
{% endtabs %}

**code:** indica el código del resultado, “0000” indica resultado sin error, otro valor indica el código del error

**text:** contiene el mensaje referente al code enviado.

**data:** contiene los datos de la transacción (para resultados sin error)

* **available:** monto disponible en bolsa
* **updatedIn:** fecha del último movimiento realizado en la bolsa


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.payvalida.com/api-cashout/consulta/saldo-en-bolsa.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
