curl --request POST \
--url https://api.services.payward.com/v1/accounts/{account_id}/transfers/derivatives \
--header 'API-Key: <api-key>' \
--header 'API-Nonce: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"asset": "USD",
"amount": "25.50",
"from": "spot",
"to": "futures"
}
'{
"data": {
"transfer_id": "FTSBuuG-9BctU4m3Emt88submmZVKY",
"status": "accepted"
}
}Create derivatives transfer
Move funds between an account’s spot and futures balances.
If you aren’t sure whether a transfer went through, check both balances or contact Payward Services support before trying again.
curl --request POST \
--url https://api.services.payward.com/v1/accounts/{account_id}/transfers/derivatives \
--header 'API-Key: <api-key>' \
--header 'API-Nonce: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"asset": "USD",
"amount": "25.50",
"from": "spot",
"to": "futures"
}
'{
"data": {
"transfer_id": "FTSBuuG-9BctU4m3Emt88submmZVKY",
"status": "accepted"
}
}Authorizations
Your public API key. Identifies the partner making the request.
HMAC signature over the request, computed with your private key.
Monotonically increasing nonce included in the request signature.
Path Parameters
Account whose spot and futures balances you want to move funds between. The owner needs an eligible futures balance. Canonical identifier for an account in the Payward public API.
14 - 42Body
Derivatives transfer request.
Currency you want to move. It must be supported by the account's futures balance.
1 - 16Amount to move. You can transfer funds that are available after any holds and collateral requirements.
1 - 64^(0*[1-9][0-9]*(\.[0-9]+)?|0+\.(0?[1-9][0-9]*))$Balance the funds move from. Choose a different balance from to.
spot, futures Balance the funds move to. Both balances must belong to the same account owner.
spot, futures Response
Your transfer has been accepted for processing.
Derivatives transfer response.
Transfer result.
Show child attributes
Show child attributes