Skip to navigation

Create an outgoing request

This endpoint creates an outgoing request. Required role: RequestCreator. This API can be made idempotent by generating an ID for the Request beforehand and passing it as the externalRequestId attribute

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
amountstringRequired

Amount in the smallest currency unit, based on the currency decimals. Example: 1500000000000000000 WEI (smallest ETH unit) corresponds to 1.5 ETH (ETH has 18 decimals places)

feeLimitstringOptional
fromWalletIdstringOptionalformat: "uint64"
A source should be specified. Either fromAddressId or fromWalletId. fromWalletId should be used to specify an omnibus wallet only.
fromAddressIdstringOptionalformat: "uint64"
A source should be specified. Either fromAddressId or fromWalletId. fromAddressId should be used for using an address as source.
toAddressIdstringOptionalformat: "uint64"
A destination should be specified. Either toAddressId or toWhitelistedAddressId.
toWhitelistedAddressIdstringOptionalformat: "uint64"
A destination should be specified. Either toAddressId or toWhitelistedAddressId.
gasLimitstringOptional
commentstringOptional
A reconciliation notes can be given when initiating a request and this will be included in transaction history.
useUnconfirmedFundsbooleanOptional
feePaidByReceiverbooleanOptional
transactionCommentstringOptional
useAllFundsbooleanOptional
If set to true, it will send all the funds from an address or from all the addresses of a wallet. If an address in a wallet can't pay the fees, it is skipped.
feePayerIdstringOptionalformat: "uint64"
extendedAmountobjectOptional
transactionReferencestringOptional

DEPRECATED - use externalRequestId instead

externalRequestIdstringOptional
Identifier for the request in the user's system. This must be unique. Attempting to create a request with an existing externalRequestId will do nothing and return the originally created request
destinationAddressMemostringOptional
A memo can be specified if the destination is a whitelisted address on a blockchain supporting memos.
optsobjectOptional
travelRuleDataInputobjectOptional

Response

A successful response.
resultobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error