Withdrawal

Get withdrawals handler.

get
/withdrawal
Query parameters
statusstring · enumRequired

The status of the in-flight sBTC withdrawal.

Possible values:
nextTokenstring · nullableOptional

the next token value from the previous return of this api call.

pageSizeinteger · int32 · nullableOptional

the maximum number of items in the response list.

Responses
get
/withdrawal

Update withdrawals handler.

put
/withdrawal
Authorizations
x-api-keystringRequired

AWS Apigateway key

Body

Request structure for the create withdrawal request.

Responses
put
/withdrawal

Get withdrawals by recipient handler.

get
/withdrawal/recipient/{recipient}
Path parameters
recipientstringRequired

The recipient's hex-encoded scriptPubKey, used to filter withdrawals.

Query parameters
nextTokenstring · nullableOptional

the next token value from the previous return of this api call.

pageSizeinteger · int32 · nullableOptional

the maximum number of items in the response list.

Responses
get
/withdrawal/recipient/{recipient}

Get withdrawals by sender handler.

get
/withdrawal/sender/{sender}
Path parameters
senderstringRequired

The sender's Stacks principal, used to filter withdrawals.

Query parameters
nextTokenstring · nullableOptional

the next token value from the previous return of this api call.

pageSizeinteger · int32 · nullableOptional

the maximum number of items in the response list.

Responses
get
/withdrawal/sender/{sender}

Get withdrawal handler.

get
/withdrawal/{id}
Path parameters
idinteger · int64Required

id associated with the Withdrawal

Responses
get
/withdrawal/{id}

Last updated

Was this helpful?