Skip to main content
POST
/
{walletId}
/
order
cURL
curl --request POST \
  --url https://gateway.7exchange.io/wallet/1.0.0/{walletId}/order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --header 'token: <token>' \
  --data '{
  "organizationId": "<string>",
  "price": {
    "balanceType": [
      "<string>"
    ],
    "name": "<string>",
    "value": "<string>",
    "ownerId": "<string>"
  },
  "amount": {
    "balanceType": [
      "<string>"
    ],
    "name": "<string>",
    "value": "<string>",
    "ownerId": "<string>"
  },
  "context": {
    "priority": 123,
    "order": 123,
    "enforcementPoint": [
      "<string>"
    ],
    "action": "<string>",
    "conditions": {}
  },
  "sourceId": "<string>",
  "destinationId": "<string>",
  "orderType": "<string>",
  "orderSide": "<string>",
  "operationType": {
    "operationType": "<string>",
    "assetType": "<string>",
    "name": "<string>",
    "isSameWallet": true,
    "ownerId": "<string>",
    "operationDestination": {
      "direction": "<string>",
      "type": "<string>",
      "ownerId": "<string>",
      "operationAddresses": [
        {
          "type": "<string>",
          "data": {
            "name": "<string>",
            "value": "<string>"
          },
          "ownerId": "<string>"
        }
      ]
    },
    "limits": [
      "<string>"
    ],
    "fees": [
      "<string>"
    ]
  },
  "shipping": {
    "country": "<string>",
    "city": "<string>",
    "state": "<string>",
    "postcode": "<string>",
    "street1": "<string>"
  },
  "customer": {
    "telnocc": "<string>",
    "phone": "<string>",
    "email": "<string>",
    "givenName": "<string>",
    "surname": "<string>",
    "ip": "<string>"
  },
  "card": {
    "cardNumber": "<string>",
    "expiryMonth": "<string>",
    "expirtyYear": "<string>",
    "cvv": "<string>"
  },
  "createdBy": "<string>",
  "paymentBrand": "<string>",
  "paymentMode": "<string>",
  "bankTransfer": {
    "bankName": "<string>",
    "holderName": "<string>",
    "accountNumber": "<string>",
    "iban": "<string>",
    "bic": "<string>",
    "email": "<string>",
    "mobileNumber": "<string>",
    "currency": "<string>",
    "publicId": "<string>",
    "network": "<string>"
  },
  "savedCard": {
    "cvv": "<string>",
    "redirectMethod": "<string>",
    "registrationId": "<string>",
    "paymentType": "<string>",
    "customerIp": "<string>",
    "merchantRedirectUrl": "<string>",
    "terminalId": "<string>"
  },
  "cryptoTransfer": {
    "publicId": "<string>"
  },
  "saveBeneficiary": true,
  "isBankTransfer": true,
  "isCryptoTransfer": true,
  "paymentType": "<string>",
  "merchantTransactionId": "<string>",
  "notificationUrl": "<string>",
  "merchantRedirectUrl": "<string>",
  "customerId": "<string>",
  "terminalId": {}
}'
{
  "reason": "<string>",
  "path": "<string>",
  "method": "<string>",
  "message": "<string>",
  "timestamp": "<string>",
  "status": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required
token
string
required

Path Parameters

walletId
string
required

Body

application/json
organizationId
string
price
object
amount
object
context
object
sourceId
string
destinationId
string
orderType
string
orderSide
string
operationType
object
shipping
object
customer
object
card
object
createdBy
string
paymentBrand
string
paymentMode
string
bankTransfer
object
savedCard
object
cryptoTransfer
object
saveBeneficiary
boolean
isBankTransfer
boolean
isCryptoTransfer
boolean
paymentType
string
merchantTransactionId
string
notificationUrl
string
merchantRedirectUrl
string
customerId
string
terminalId
object

Response

Internal server error

reason
string

Reason phrase

path
string

Request path

method
string

Method type of the request

message
string

Error message

timestamp
string

Timestamp of the error

status
integer

Relevant HTTP status code