Create new trading account synchronously #

curl –request POST \  –url https://mtco.match-trade.com/documentation/process/api/trading-account/create/sync \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{  “partnerId”: {partnerId},  “clientUuid”: “{clientUuid}”,  “offerUuid”: “{offerUuid}”}’

Create new trading account #

curl –request POST \  –url https://mtco.match-trade.com/documentation/process/api/trading-account/create \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{  “partnerId”: {partnerId},  “clientUuid”: “{clientUuid}”,  “offerUuid”: “{offerUuid}”}’

Create new user account (with trading account) #

curl –request POST \  –url https://mtco.match-trade.com/documentation/process/api/accounts \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{  “offerUuid”:”{offerUuid}”,   “account”:{ “partnerId”:”{partnerId}”, “email”:”{email}” }}’

Create new user account (without trading account) #

curl –request POST \  –url https://mtco.match-trade.com/documentation/process/api/accounts \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{    “account”:{ “partnerId”:”{partnerId}”, “email”:”{email}”, “branchUuid”:”{branchUuid}” }}’

Update an account #

curl –request PUT \  –url ‘https://mtco.match-trade.com/documentation/account/api/accounts?email=%7Bemail%7D&partnerId=%7BpartnerId%7D’ \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{ “{parameterToChange}”: “{value}”}’

Get user account by email #

curl –request GET \  –url ‘https://mtco.match-trade.com/documentation/account/api/partners/%7BpartnerId%7D/accounts/by-email?email=%7Bemail%7D’ \  –header ‘Authorization: Bearer {accessToken}’

Get client accounts by query and time range #

curl –request GET \  –url ‘https://mtco.match-trade.com/documentation/account/api/partner/%7BpartnerId%7D/clients/view?from=2020-01-01T00%3A00%3A00Z&to=2024-01-01T00%3A00%3A00Z’ \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{ }’

Get accounts by query and time range (for lead providers only, filteredby accounts created by the authorized user) #

curl –request GET \  –url ‘https://mtco.match-trade.com/documentation/account/api/partner/%7BpartnerId%7D/accounts/view/for-lead-provider?from=2020-01-01T00%3A00%3A00Z&to=2024-01-01T00%3A00%3A00Z’ \  –header ‘Authorization: Bearer {accessToken}’

Get lead and client accounts by query and time range #

curl –request GET \  –url ‘https://mtco.match-trade.com/documentation/account/api/partner/%7BpartnerId%7D/accounts/view?from=2020-01-01T00%3A00%3A00Z&to=2024-01-01T00%3A00%3A00Z’ \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{ }’

Change password of trading account #

curl –request POST \  –url https://mtco.match-trade.com/documentation/account/api/partner/%7BpartnerId%7D/systems/%7BsystemUuid%7D/trading-accounts/%7BtradingAccountId%7D/password \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘”{newTradingAccountPassword}”‘

Get balance of trading account #

curl –request GET \  –url https://mtco.match-trade.com/documentation/account/api/partner/%7BpartnerId%7D/systems/%7BsystemUuid%7D/trading-accounts/%7BtradingAccountId%7D/balance \  –header ‘Authorization: Bearer {accesToken}’

Get open positions of trading account #

curl –request GET \  –url https://mtco.match-trade.com/documentation/account/api/partner/%7BpartnerId%7D/systems/%7BsystemUuid%7D/trading-accounts/%7BtradingAccountId%7D/open-positions \  –header ‘Authorization: Bearer {accesToken}’

Get active orders of trading accounts #

curl –request GET \  –url https://mtco.match-trade.com/documentation/account/api/partner/%7BpartnerId%7D/systems/%7BsystemUuid%7D/trading-accounts/%7BtradingAccountId%7D/active-orders \  –header ‘Authorization: Bearer {accesToken}’

Get ledgers of trading accounts #

curl –request GET \  –url https://mtco.match-trade.com/documentation/account/api/partner/%7BpartnerId%7D/systems/%7BsystemUuid%7D/trading-accounts/%7BtradingAccountId%7D/ledgers \  –header ‘Authorization: Bearer {accesToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{  “types”: [    “{type}”  ],  “from”: “2020-01-01T00:00:00.000Z”,  “to”: “2024-01-01T00:00:00.000Z”,  “limit”: 1000}’

Get closed positions of trading accounts #

curl –request GET \  –url https://mtco.match-trade.com/documentation/account/api/partner/%7BpartnerId%7D/systems/%7BsystemUuid%7D/trading-accounts/%7BtradingAccountId%7D/closed-trades \  –header ‘Authorization: Bearer {accesToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{  “symbols”: [    “{symbol}”  ],  “from”: “2020-01-01T00:00:00.000Z”,  “to”: “2024-01-01T00:00:00.000Z”,  “limit”: 1000}’

Get trading account #

curl –request GET \  –url https://mtco.match-trade.com/documentation/account/api/trading-accounts/%7BtradingAccountUuid%7D \  –header ‘Authorization: Bearer {accesToken}’

Get trading account details #

curl –request GET \
  –url ‘https://mtco.match-trade.com/documentation/account/trading-accounts/search/by-uuid?uuid=%7BtradingAccountUuid%7D’ \
  –header ‘Authorization: Bearer {accessToken}’

Get trading accounts details #

curl –request GET \  –url https://mtco.match-trade.com/documentation/account/api/partner/%7BpartnerId%7D/accounts/%7BaccountUuid%7D/trading-accounts/details \  –header ‘Authorization: Bearer {accesToken}’

Get lead accounts by query and time range #

curl –request GET \  –url ‘https://mtco.match-trade.com/documentation/account/api/partner/%7BpartnerId%7D/leads/view?from=2020-01-01T00%3A00%3A00Z&to=2024-01-01T00%3A00%3A00Z&query=’ \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{
}’

Change user’s password #

curl –request POST \  –url https://mtco.match-trade.com/documentation/auth/api/user/change-password \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{  “email”: “{email}”,  “partnerId”: {partnerId},  “newValue”: “{newPassword}”}’

Get all transactions for a given email #

curl –request GET \  –url ‘https://mtco.match-trade.com/documentation/payment/api/partner/%7BpartnerId%7D/transactions?email=%7BemailAddress%7D&size=%7Bsize%7D’ \  –header ‘Authorization: Bearer {accessToken}’

Get all deposits #

curl –request GET \  –url ‘https://mtco.match-trade.com/documentation/payment/api/partner/%7BpartnerId%7D/deposits/deposit-view-model?from=2020-01-01T00%3A00%3A00Z&to=2024-01-01T00%3A00%3A00Z&query=’ \  –header ‘Authorization: Bearer {accessToken}’

Get all withdrawals #

curl –request GET \  –url ‘https://mtco.match-trade.com/documentation/payment/api/partner/%7BpartnerId%7D/withdrawal/withdrawal-view-model?from=2020-01-01T00%3A00%3A00Z&to=2024-01-01T00%3A00%3A00Z&query=’ \  –header ‘Authorization: Bearer {accessToken}’

Make a manual withdraw #

curl –request POST \  –url https://mtco.match-trade.com/documentation/payment/api/partner/%7BpartnerId%7D/withdraws/manual \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{  “paymentGatewayUuid”: “{paymentGatewayUuid}”,  “tradingAccountUuid”: “{tradingAccountUuid}”,  “currency”: “{currencyOfTradingAccount}”,  “amount”: 0,  “netAmount”: 0,  “remark”: “string”}’

Make a manual deposit #

curl –request POST \  –url https://mtco.match-trade.com/documentation/payment/api/partner/%7BpartnerId%7D/deposits/manual \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{  “paymentGatewayUuid”: “{paymentGatewayUuid}”,  “tradingAccountUuid”: “{tradingAccountUuid}”,  “currency”: “{currencyOfTradingAccount}”,  “amount”: 0,  “netAmount”: 0,  “remark”: “string”}’

Make credit for trading account #

curl –request POST \  –url https://mtco.match-trade.com/documentation/payment/api/partners/%7BpartnerId%7D/systems/%7BsystemUuid%7D/trading-accounts/%7BtradingAccountId%7D/credit \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{  “amount”: {amount},  “comment”: “string”}’

Reverse credit for trading account #

curl –request POST \  –url https://mtco.match-trade.com/documentation/payment/api/partners/%7BpartnerId%7D/systems/%7BsystemUuid%7D/trading-accounts/%7BtradingAccountId%7D/credit-reverse \  –header ‘Authorization: Bearer {accessToken}’ \  –header ‘Content-Type: application/json’ \  –data ‘{  “amount”: {amount},  “comment”: “string”}’

Get all branches #

curl –request GET \  –url https://mtco.match-trade.com/documentation/config/partner/%7BpartnerId%7D/branches \  –header ‘Authorization: Bearer {accessToken}’

Get all offers #

curl –request GET \  –url https://mtco.match-trade.com/documentation/config/api/partner/%7BpartnerId%7D/offers \  –header ‘Authorization: Bearer {accessToken}’

Get all payment gateways by branch (in the response you will get only UUIDs of the payment gateways) #

curl –request GET \  –url https://mtco.match-trade.com/documentation/config/partner/%7BpartnerId%7D/branches/%7BbranchUuid%7D/payment-gateway-uuids \  –header ‘Authorization: Bearer {accessToken}’

Get all payment gateways with details #

curl –request GET \ –url https://mtco.match-trade.com/documentation/payment/partner/%7BpartnerId%7D/payment-gateways \ –header ‘Authorization: Bearer {accessToken}’

Get all operations #

curl –request GET \  –url https://mtco.match-trade.com/documentation/config/partner/%7BpartnerId%7D/operations/general \  –header ‘Authorization: Bearer {accessToken}’


Back Office API Documentation

Match-Trade Technologies is a global company with offices all around the world

0
Years in the Forex Industry
0
Languages We Speak
0
Offices in USA, Europe and Asia
0
Highly skilled experts working with us