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"
}
}Derivative transfers
Create derivatives transfer
Creates a transfer between the selected account’s spot and futures balances.
This operation is not idempotent. If the outcome is unknown, reconcile the balances before retrying.
POST
/
v1
/
accounts
/
{account_id}
/
transfers
/
derivatives
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
Globally unique public identifier for an account.
Required string length:
14 - 42Body
application/json
Derivatives transfer request.
Currency to transfer.
Required string length:
1 - 16Amount to transfer.
Required string length:
1 - 64Pattern:
^(0*[1-9][0-9]*(\.[0-9]+)?|0+\.(0?[1-9][0-9]*))$Balance to debit.
Available options:
spot, futures Balance to credit.
Available options:
spot, futures Response
Derivatives transfer accepted for processing.
Derivatives transfer response.
Transfer result.
Show child attributes
Show child attributes