POST
/
CreateOrder
curl --request POST \
  --url https://gateway.finhub.cloud/wallet/2.0.0/CreateOrder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "orderOperationType": "<string>",
  "sourceEntity": {
    "customerId": "<string>",
    "walletId": "<string>",
    "assetId": "<string>",
    "assetSubUnitId": "<string>",
    "service": "<string>",
    "product": "<string>",
    "businessArea": "<string>",
    "lineOfBusiness": "<string>"
  },
  "destinationEntity": {
    "customerId": "<string>",
    "walletId": "<string>",
    "assetId": "<string>",
    "assetSubUnitId": "<string>",
    "service": "<string>",
    "product": "<string>",
    "businessArea": "<string>",
    "lineOfBusiness": "<string>"
  },
  "orderAmount": {
    "amount": "<string>"
  },
  "orderContext": {
    "sender": {
      "id": "<string>",
      "tenantId": "<string>",
      "customerId": "<string>",
      "userName": "<string>",
      "customerType": "<string>",
      "firstName": "<string>",
      "lastName": "<string>",
      "organizationId": "<string>",
      "companyName": "<string>"
    },
    "counterParty": {
      "id": "<string>",
      "tenantId": "<string>",
      "customerId": "<string>",
      "customerType": "<string>",
      "shortName": "<string>",
      "firstName": "<string>",
      "lastName": "<string>",
      "email": "<string>",
      "phoneNumber": "<string>",
      "companyName": "<string>",
      "status": "<string>",
      "organizationId": "<string>",
      "allowSave": true
    },
    "beneficiary": {
      "partyType": "INDIVIDUAL_CUSTOMER",
      "beneficiaryId": "<string>",
      "status": "<string>",
      "currency": "<string>",
      "iban": "<string>",
      "organizationId": "<string>",
      "firstName": "<string>",
      "lastName": "<string>",
      "address": "<string>",
      "country": "<string>",
      "email": "<string>",
      "phoneNumber": "<string>",
      "userName": "<string>",
      "shortName": "<string>",
      "companyName": "<string>",
      "pepCheckResult": "<string>",
      "allowSave": true
    },
    "note": "<string>",
    "notifyRecipient": true,
    "manageRequestPageUrl": "<string>",
    "accountTransactionPageUrl": "<string>"
  }
}'
{
  "order_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

tenantId
string
required

Body

application/json

Response

201
application/json

Created

The response is of type object.