Skip to Content
Session withdrawals

Calculate session withdrawal preview

Use this method to calculate the amounts of a session withdrawal before its creation. The amount is checked against the payment system limits; the turnover limits and the free funds are checked on creation.

POST
/api/v2/my/session-withdrawals/preview

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Header Parameters

accept-language?string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v2/my/session-withdrawals/preview" \  -H "accept-language: ja" \  -H "Content-Type: application/json" \  -d '{    "methodId": 0,    "accountId": 0,    "currencyCode": 0,    "amount": "string"  }'
{  "rate": "string",  "commission": "string",  "sourceCurrencyAlphaCode": "string",  "sourceCurrencyAmount": "string",  "destinationCurrencyAlphaCode": "string",  "destinationCurrencyAmount": "string"}