4. Initiate currencies conversion
POST {{host}}/v1/borderless-accounts/{{borderles-id}}/conversions
Convert funds between your borderless account currencies. Quote which is used in this call must have type BALANCE_CONVERSION
.
Note that this call needs an extra field in header called X-idempotence-uuid
.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string | ||
X-idempotence-uuid | string |
RESPONSES
status: OK
{"id":48902285,"user":5461414,"targetAccount":14109559,"sourceAccount":null,"quote":2934720,"quoteUuid":"2934720","status":"incoming_payment_waiting","reference":"my ref","rate":0,"created":"2020-10-29 13:01:23","business":null,"transferRequest":null,"details":{"reference":"my ref"},"hasActiveIssues":false,"sourceCurrency":"GBP","sourceValue":98.89,"targetCurrency":"USD","targetValue":0,"customerTransactionId":"bbfcecdd-112c-46d9-87c8-73ea4c8fdfab"}