Skip to navigation

Create a fiat provider transfer request

This endpoint creates a fiat provider transfer 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

numeric; 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)

fromAccountIDstringRequired

The ID of the fiat provider account that the transfer will be sent from. This is the Taurus-PROTECT Account ID.

toAccountIDstringOptional

The ID of the fiat provider account that the transfer will be sent to, if applicable (ex. Cubnet). This is the Taurus-PROTECT Account ID.

toCounterpartyAccountIDstringOptional

The ID of the counterparty fiat provider account that the transfer will be sent to, if applicable (ex. Cubnet). This is the Taurus-PROTECT Counterparty Account ID.

commentstringOptional
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. The excternalRequestID is passed to fiat providers as an idempotency key.

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