Get a Payment Reference
Learn how to generate and manage payment references using Bando's Fulfiller API. Step-by-step guide for implementing secure crypto payment processing.
Payment Reference Guide
Learn how to handle payment references for transactions. This guide explains how to create and manage payment references securely.
Creating Payment References
What is a Payment Reference?
A payment reference is any identifier needed to complete a transaction, such as:
Phone numbers for mobile top-ups and eSIMs
Email addresses for gift cards
Each product type has specific reference requirements and validation rules.
Creating a Reference
Endpoint
Request Format by Product Type
1. Mobile Top-ups and eSIMs
Reference requirements:
Must match phone regex:
^(\\+?\\d{1,3}[-.\\s]?)?(\\(?\\d{3}\\)?[-.\\s]?)?\\d{3}[-.\\s]?\\d{4}$
Include country code
No special characters
Some products require extra fields, check the required_fields of the product endpoint
2. Gift Cards
Reference requirements:
Must match email regex:
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$
Required fields vary by brand
Some brands require sender information
Response Format
Best Practices
Reference Format
Validate format client-side before submission
Follow the specific format required by each service
Include country codes for phone numbers
Security
Never store references in plain text
Transaction Intent
Always include complete transaction details
Specify the correct blockchain and token
Check amounts and SKUs
Reference Privacy
References are stored securely off-chain
Only reference IDs are stored on-chain
Use validation IDs for status checks
Last updated
Was this helpful?