Create Sub-Payee

If you would like to set up sub-payees for your application, please follow the instructions below or refer to our guide.

Headers

  • x-api-header: Your sub-payee creation API key

To create sub-payees you first need to generate a sub-payee creation API key - please contact will@bindpay.xyz to receive one of these keys.

Request Body

  • name: nameOfSubPayee

  • toChain: chainID

  • toToken: tokenAddress

  • toAddress: walletAddress

Example Request

curl -X POST "https://api.bindpay.com/v1/quote" \
     -H "Content-Type: application/json" \
     -H "x-api-key: your_generate_subpayee_api_key_here" \
     -d '{
       "name": "Leroy Jenkins",
       "toChain": "1",
       "toToken": "ETH",
       "toAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44b"
     }'

Last updated