Open a partner account
Blog · SIM resellers

Selling Vietnam SIMs online with airport pickup: the order flow, step by step

You sell SIMs on your own site; your customer lands at Tan Son Nhat or Noi Bai and needs the card in hand. Between the payment and the handover there are five points where an order can go wrong: selling stock you no longer have, a payment retry creating a second order, a code that never reaches the traveller, a handover you never hear about, and a refund that leaves a SIM locked. Here is how each one is handled with SimPickup.

How do I avoid selling a SIM I don't have at the airport?

Check live stock before you take the money: GET /stock returns, per airport and carrier, the count not already reserved for an order.

Your SIMs are shipped to the airport ahead of time, and every serial is scanned in and confirmed on arrival. From then on GET /api/partner/v1/stock shows what is still free at each airport, by carrier. Skip this check and you only learn you are out of stock after the customer has paid.

If you do try to order more than is free, the call returns 409 INSUFFICIENT_STOCK with the remaining count, and no SIM is held. Airports today are Tan Son Nhat and Noi Bai; others open on demand.

What happens when the customer pays?

Your server creates one order with your own order ID as partnerRef. The system picks and locks specific serials from your stock and returns a pickupCode.

  1. Send partnerRef, airport, carrier, quantity, flight, meeting time and the traveller's name as printed in the passport. Do not send serials: the system chooses them from your stock, so you don't keep a mirror of the inventory.
  2. Send meetAt with a time-zone offset, e.g. +07:00. Without one the call is refused with 400 rather than guessed.
  3. Let retries be retries. Your payment webhook will fire twice sooner or later. The same partnerRef with the same body returns the same order (replay: true); never mint a new reference for a payment that already has one, because that is the only way to create a duplicate.
Keep the API key on your server, never in browser or app code. Register your server IPs and a leaked key is useless from anywhere else.

How does the traveller get the pickup code?

Two ways: pass guestEmail and SimPickup emails the QR code, or set sendGuestEmail to false and put the code in your own confirmation email.

If you write to your customers yourself, render the pickupCode as a QR code pointing to https://app.simpickup.com/p/<pickupCode>. On arrival the traveller shows that code, and the handover screen names the exact SIM reserved for them; a different serial is flagged on the spot.

The handover point sees a four-character alias such as PT 7K2M, not your company name, and never your selling price. The system stores no end-customer phone numbers.

How do I know the SIM was handed over?

A signed webhook, order.delivered, arrives with the real serials handed over. Back it up by polling GET /orders?updatedSince=… every few minutes.

Every change of state is sent to your webhook URL: order.delivered, order.partial, order.cancelled, order.no_show. Verify the X-SimPickup-Signature header against the raw body, answer 2xx at once and process afterwards; we wait at most 10 seconds and retry on anything else.

A webhook alone is not enough: a server outage or an expired certificate and the message never lands. Store nextSince from the polling call and pass it back next time, and no outage loses you an order.

The customer wants a refund. What happens to the SIM?

Cancel the order: the SIMs go straight back to usable stock. An order whose SIM has already reached the traveller cannot be cancelled in the system.

POST /api/partner/v1/orders/{partnerRef}/cancel releases the SIMs and sends order.cancelled. Cancelling more than 2 hours before the meeting time costs nothing. Once the SIM is handed over the call returns 409 NOT_CANCELLABLE, and that case is settled outside the system.

Flight changes work the same way: cancel and create a new order. Case by case: when a flight changes.

Can I test all of this before going live?

Yes. sk_test_ keys run on separate stock and orders, nobody goes to the airport, and nothing counts towards settlement.

Call POST /sandbox/restock first: a sandbox key starts with empty stock, and restock tops it up to 20 SIMs per airport and carrier. sandbox-deliver runs the same handover code as a real delivery and fires the same webhook. Going live means changing the key, not the URL.

Integration usually takes one working day. Going live also needs your SIM stock to have reached the airport and been confirmed.

Quick checklist: what does my site need?

Five things: a stock check, an order call on payment, a way to send the code, a webhook plus polling, and a cancel call on refund.

Your site doesWhat goes wrong without it
Before checkoutGET /stockYou sell a SIM that isn't at the airport
On paymentPOST /orders, your order ID as partnerRefA payment retry creates a second order
After the orderEmail the pickup code, or let us send itThe traveller lands with nothing to show
After the flightWebhook + polling updatedSinceYou never hear the SIM was handed over
On refundPOST /orders/{ref}/cancelThe SIM stays locked to a dead order

Full fields and error codes: API docs. Selling to tour groups instead? See four options compared.

More questions

Do you sell SIM cards to my customers?

No. We have no retail storefront, no consumer app, and no SIM price listed anywhere. Our revenue is a fee per successful handover.

Who supplies the SIMs?

You do. You buy from your own carrier or distributor at your own price and ship to the airport. We do not purchase stock or influence your pricing.

How large can one order be?

From 1 to 50 SIMs. A larger group is split into several orders.

Have groups landing at SGN or HAN?

Leave your details on the home page and tell us which airports you work with and roughly how many travellers a month.

Open a partner account WhatsApp

WhatsApp