Introduction
A staged digital wallet is a wallet where the customer first loads a balance and then spends it, in two separate card transactions. Both transactions are charged by the wallet operator, the company that runs the wallet, and not by the store the customer finally buys from. Because of that, the card networks require each transaction to be flagged as SDWO (Staged Digital Wallet Operators) traffic. Flagging it correctly is what gives the transaction the right interchange, the right compliance treatment and a clean approval rate. SDWO is not a new payment method. In both transactions the payment method is still the customer’s card, and you send the same Create payment request you already send. What changes is the data you attach to it, which Yuno translates into whatever wallet structure the provider expects.The two operations
The presence of the
account_funding object is the only field that differentiates the two operations. You do not send an operation type, a processing code or a wallet ID: Yuno derives the provider-specific values from the object you send and from your connection configuration.
This is the same
account_funding object described in Account Funding Transactions (AFTs). SDWO is the staged-wallet case of an AFT: the cash-in is an account funding transaction, and the purchase is the second transaction that only staged wallets have.Supported providers
Rede is the only provider with SDWO support today. The
account_funding object is the same one every Yuno account funding integration reads, so enabling another provider later does not change your integration.
Creating a cash-in
Send a normal card payment plus theaccount_funding object identifying who funds the operation and who receives the balance, and seller_details identifying the wallet operator.
Cash-in request
Cash-in fields
Creating a purchase
The purchase is a standard card payment with the submerchant inseller_details and no account_funding object.
Purchase request
seller_details describes the submerchant being paid, not the wallet operator.
Response
SDWO does not add fields to the response. You receive the standard payment object, and you follow the payment status exactly as you do for any card payment. The wallet data you sent is used to build the provider request; it is not returned on the payment or on subsequentGET calls, so keep your own record of the wallet account each payment funded.
What Yuno handles for you
You never send provider-specific wallet values. Yuno derives them from your connection and from the card network:- The operation code. For Rede, the
processingTypethat marks the transaction as01purchase or02cash-in. - The wallet ID. Registered with each card network and stored on your connection, with a different format for each one.
- The payment destination. The code that tells the provider what kind of cash-in it is. It is set on your connection, not on each request. See the limitation below.
- The rules of each card network. Which data each one carries: Mastercard does not take the sender data, Elo requires the full submerchant address, the soft descriptor is truncated to 18 characters.
Before you go live
- Register your wallet ID with each card network you will process. Your provider requests it for Mastercard and Visa; Elo is requested by you directly with the network. Without a registered wallet ID the provider rejects the wallet transaction.
- Ask your provider to enable the wallet scope on your merchant account. Wallet operations are enabled per merchant account, and an account without them returns a parameter-not-allowed error even when the request is correct.
- Use a dedicated connection for SDWO traffic. SDWO is enabled at connection level, so a connection with SDWO on flags every card payment routed through it. Keep your regular card sales on a separate connection.
Limitations
- One cash-in variant per connection. The payment destination is configured on your connection in the Yuno dashboard, not sent on each request, so a single connection always produces the same kind of cash-in. If your business needs more than one variant, ask your Yuno contact for one connection per variant.
- Consumer Bill Payment Service (CBPS) is not supported. Paying a bill or a boleto with wallet balance as a card network bill-payment program is not available today.
- The
funding_typefield is not used.account_funding.funding_typeis accepted by the API but no provider integration reads it yet, so it does not change how the operation is processed.