Skip to main content
POST
Close a position

Authorizations

Authorization
string
header
default:bp_YOUR_API_KEY
required

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

Body

application/json
tokenId
string
required
amount
number
required

Response

Close-position intent was queued.

intentId
string<uuid>
status
string
amount
number