Skip to main content

Create Withdrawal Intent

Create a Withdrawal Intent for a given Funding Source.

For more information on Withdrawal Intents see the Card Funding guide

Path Parameters
  • fundingSourceId string required

    ID for the Funding Source.

    Example: 2be03cd65da12fe29b8910af7b4b85e7
Request Body required
  • amount number required

    Withdrawal amount in minor units.

Responses

Successful operation


Schema
  • amount number

    Withdrawal amount in minor units.

  • id string

    ID of the Withdrawal Intent.

  • createdAt string

    Creation date of the Withdrawal Intent.

  • expiresAt string

    Expiration date of the Withdrawal Intent.

  • walletAddress string

    The wallet address to which the funds will be sent.

  • execution object
  • contractAddress string

    The address of smart contract to invoke.

  • method string

    The contract function to call.

  • abi object[]

    The JSON ABI of the function being executed (contains only required details. more details here https://docs.soliditylang.org/en/v0.8.19/abi-spec.html#json)

  • Array [
  • name string

    Possible values: [withdraw]

    The name of the function

  • type string

    Possible values: [function]

  • input object[]
  • output object[]
  • ]
  • params object
  • amount number

    Withdrawal amount in minor units.

  • expiryDate number

    The unix timestamp when the signature expires.

  • nonce number

    Unique identifier of current Withdrawal Intent.

  • signature string

    The signed withdrawal approval.

Loading...