Request a withdrawal to return funds back to the owner or to a requoted processing address. This endpoint should be used when a payment cannot be completed and funds need to be returned.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the payment to withdraw
List of token amounts to withdraw back to the owner or to a requoted processing address
On-chain address to withdraw the funds to. The assets will go to the address on the same chain the assets are on.
Type of account to withdraw from.
INTENT, SPW Withdrawal initiated successfully
Signature type required for the withdrawal authorization.
EIP712, EIP191 ID of the withdrawal transaction
Authorization data to sign. For EIP712, this is a JSON string to parse and pass to signTypedData. For EIP191, pass this string directly to signMessage.
Opaque state token to pass back when confirming the withdrawal.