KashierDevelopersKashier Developers

Get amount suggestions

curl -X POST "https://test-api.kashier.io/v3/payment/instant-settlements/instant/suggestions" \  -H "Content-Type: application/json" \  -d '{    "targetAmount": 50000  }'

{  "targetAmount": 50000,  "below": {    "totalAmount": 38500,    "transactionsCount": 4,    "transactionIds": [      "TX-A30000",      "TX-B7000",      "TX-C1000",      "TX-D500"    ]  },  "above": {    "totalAmount": 55000,    "transactionsCount": 2,    "transactionIds": [      "TX-A30000",      "TX-E25000"    ]  }}

Given a target amount, returns suggested transactions whose combined settlementAmount is close to it — one suggestion at or below the target (below) and one at or above it (above). A side is null when no suggestion is available. Each side carries the transactionIds you can pass straight to the fee inquiry or to create a request.

Authorization

secretKey
Authorization<token>

Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

The target amount to find transaction combinations for, plus optional filters narrowing the candidate set.

Response Body

application/json

application/json

application/json

application/json

application/json

POST
/v3/payment/instant-settlements/instant/suggestions