curl --request POST \
--url https://api.dfns.io/payouts/{payoutId}/action \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-DFNS-USERACTION: <api-key>' \
--data '
{
"action": "Confirm",
"walletId": "wa-5pfuu-9euek-h0odgb6snva8ph3k",
"transfer": {
"kind": "Erc20",
"amount": "<string>",
"contract": "<string>",
"to": "<string>"
}
}
'{}Perform an action on a payout, such as confirming or canceling.
curl --request POST \
--url https://api.dfns.io/payouts/{payoutId}/action \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-DFNS-USERACTION: <api-key>' \
--data '
{
"action": "Confirm",
"walletId": "wa-5pfuu-9euek-h0odgb6snva8ph3k",
"transfer": {
"kind": "Erc20",
"amount": "<string>",
"contract": "<string>",
"to": "<string>"
}
}
'{}CustomerEmployee)EndUser)Payouts:Write: Always required.Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows
Payout id.
1 - 64Confirm The wallet ID to use for the transfer.
1 - 64^wa-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"wa-5pfuu-9euek-h0odgb6snva8ph3k"
The transfer details for the payout settlement.
Show child attributes
Success
The response is of type object.
Was this page helpful?