Prepare for Purchases (Payment Methods)

Sandbox Environment: Your Sandbox account comes with a pre-added test bank card, which is ready for use.

View Your Payment Methods: To use a specific payment method for purchases or deposits, you might need its ID (e.g., bankCardId).

  • Quick check using cURL (Sandbox): Replace <YOUR_USER_ACCESS_TOKEN> with the token you just generated.
curl -X POST https://transactional-graph.staging.fluzapp.com/api/v1/graphql \
  -H "Authorization: Bearer <YOUR_USER_ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "query getWallet { getWallet { bankCards { bankCardId lastFourDigits } } }"
  }'
  • Response: Find the bankCardId or bankAccountId you need, check getWallet schema.
  • 💾 Save the relevant payment method ID if you plan to specify it directly in purchases or deposits.
  • In your code: You can also add/manage funding sources via the API using the MANAGE_PAYMENT scope.