Documentation API

get/api/v1/Payments/quote

Prices a payment to a beneficiary in a different currency from the payment account, before it is sent: what the beneficiary receives, what is debited from the account (fee included), the fee and the exchange rate. The same beneficiary and minimum-amount checks as sending are applied, so a refusal is shown before confirming.

Payments

Paramètres

accountId

query · string

Requis

contactId

query · string

Requis

amount

query · number

Requis

currency

query · string

Requis

version

path · string

Requis

Réponses

  • 200The price of the payment. Rates move, so the amount debited when sending can differ slightly.application/json
    {
      "bankAmount": {
        "amount": 8,
        "currency": {
          "value": "EUR"
        }
      },
      "debitAmount": {
        "amount": 10.096862,
        "currency": {
          "value": "USDC"
        }
      },
      "fee": {
        "amount": 1,
        "currency": {
          "value": "USDC"
        }
      },
      "exchangeRate": 0.8914,
      "exchangeRateFrom": "USDC",
      "exchangeRateTo": "EUR",
      "minimumDebit": {
        "amount": 5,
        "currency": {
          "value": "USDC"
        }
      }
    }
  • 204This beneficiary is paid in the account currency, so there is nothing to price.
  • 400The payment cannot be made, for example it is below the minimum or the beneficiary is not approved. The body is a message to show the user.application/json
    "string"
  • 401Not authenticated.application/json
    {}
Alipay
Stripe
Eurex
AWS
Azure
Google Cloud
Currenex
Velocity Trade
Bitcoin
CME
Interactive Brokers
Kraken
FIX API
XTX
Bloomberg
Binance

Lancez votre plateforme.

Commencer.