Get asset transfer methods
GET/asset-transfer-method
Get all asset transfer methods for a given account
Request
Query Parameters
Filter transfer methods by account ID
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
List of asset transfer methods
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
ID of the associated account
ID of the asset being transferred
Whether this transfer method can be used multiple times
true
Type of the asset transfer (BITCOIN or BITCOIN_LIGHTNING)
Possible values: [BITCOIN
, BITCOIN_LIGHTNING
]
BITCOIN
Direction of the transfer (INCOMING or OUTGOING)
Possible values: [INCOMING
, OUTGOING
]
INCOMING
Optional label for the transfer method
Possible values: <= 255 characters
Optional tag for the transfer method
Possible values: <= 255 characters
Lightning invoice payment request string
Possible values: <= 639 characters
Expected amount in base units (e.g., satoshis)
Expiration time of the transfer method
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"assetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"singleUse": true,
"assetTransferType": "BITCOIN",
"transferDirection": "INCOMING",
"label": "string",
"tag": "string",
"invoice": "string",
"unitCountExpected": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"expiresAt": "2024-07-29T15:51:28.071Z"
}
]
Bad Request - Invalid input data
- application/json
- Schema
- Example (from schema)
Schema
Error message
Detailed error description
Error code
{
"message": "Invalid input data",
"description": "The request data did not pass validation",
"code": "INVALID_INPUT"
}
Unauthorized - Invalid or missing authentication token
- application/json
- Schema
- Example (from schema)
Schema
Error message
Detailed error description
Error code
{
"message": "Unauthorized",
"description": "Invalid, expired or missing bearer token",
"code": "UNAUTHORIZED"
}
Forbidden - Insufficient permissions
- application/json
- Schema
- Example (from schema)
Schema
Error message
Detailed error description
Error code
{
"message": "Forbidden",
"description": "You don't have permission to access this resource",
"code": "FORBIDDEN"
}
Not Found - Resource not found
- application/json
- Schema
- Example (from schema)
Schema
Error message
Detailed error description
Error code
{
"message": "Resource not found",
"description": "The requested resource could not be found",
"code": "NOT_FOUND"
}
Conflict - Resource already exists or state conflict
- application/json
- Schema
- Example (from schema)
Schema
Error message
Detailed error description
Error code
{
"message": "Resource conflict",
"description": "The resource already exists or is in an invalid state",
"code": "CONFLICT"
}
Unprocessable Entity - Validation error
- application/json
- Schema
- Example (from schema)
Schema
Error message
Detailed error description
Error code
{
"message": "Validation error",
"description": "The request data failed validation rules",
"code": "VALIDATION_ERROR"
}