When a Phone Number Changes Hands
Mobile carriers give old phone numbers to new customers. When a new person registers with a number that used to belong to someone else on INVO, INVO keeps the two people apart: the new holder gets their own wallet, and the previous owner keeps theirs and the money that was sent to them. This page explains what your integration may see and what to show the player.
Do I need to change anything?
No. The status codes and error codes are the ones you already handle. Three responses gain additive fields that let you show a clearer message. An integration that ignores them keeps working, and INVO's own messages in those responses already explain the situation to the player.
What INVO does
- • Notices a number that has probably changed hands. When a new email registers with a phone number already on INVO, INVO normally asks the number's owner to approve sharing it (
409 PHONE_SHARE_APPROVAL_REQUIRED). When everyone the number belongs to on INVO has stopped using it, the confirmation goes to the phone itself instead, as a text that asks only the person who just registered to confirm. Anyone else holding the phone is told to ignore it. - • Gives the new holder their own wallet. That confirmation moves the number to a new wallet for the new email. The new holder never joins the previous owner's wallet and never sees its balance or history.
- • Falls back to a text when an email goes unanswered. If INVO emailed the number's owner for approval and nobody answered, the ordinary share request goes to the phone by text. That text only ever shares the number; it never moves it to a new wallet.
- • Keeps the previous owner's money with them. Money sent to the number before it changed hands can be collected only by the previous owner. If they never collect it, it goes back to the sender when it expires, as any uncollected transfer does.
- • Protects the previous owner in the INVO app. If someone signs in to the INVO app with the number and lands on an inactive wallet, the wallet stays closed until its owner confirms with a code sent to the wallet's email. The previous owner is told by email.
2. Collecting money: number_reassigned
When the new holder of a number tries to collect money that was sent to that number before it changed hands, the collect answers 409 with the usual PHONE_SHARE_APPROVAL_REQUIRED body shape and number_reassigned: true. Nothing was moved, and no approval was requested.
{
"status": "error",
"error_code": "PHONE_SHARE_APPROVAL_REQUIRED",
"message": "This transfer was sent to this phone number before the number moved to a new account, so it can't be collected here. If the person it was meant for doesn't collect it, it returns to the sender when it expires.",
"phone_last4": "4567",
"approval_id": null,
"code_sent": false,
"retry_after_approval": false,
"number_reassigned": true
}What to show the player: message as it is. It explains that the money was meant for the number's previous owner.
What to do: stop. Do not retry and do not wait for an approval: none was asked for, and retrying will not change the answer. Remove the item from the player's list of things to collect. Money sent to the number after it changed hands is collected normally by its new holder.
3. INVO app sessions: DEVICE_REQUIRES_ELEVATION
This applies only to calls made with an INVO wallet session (the INVO app). Player tokens your server mints for your game are not affected. When the phone used to sign in may belong to a new owner, wallet routes answer the existing 403 DEVICE_REQUIRES_ELEVATION with number_possibly_reassigned: true:
{
"error": "device_requires_elevation",
"code": "DEVICE_REQUIRES_ELEVATION",
"message": "Confirm it is you with the code we email to the address on this wallet before it can be opened on this phone.",
"number_possibly_reassigned": true
}What to do: what you already do for this code. Show message; the wallet's owner confirms with the emailed code and the device is cleared. Someone who cannot receive that email is not the wallet's owner: they should register their own account with the number in a game or platform, which takes them through step 1.
Checklist
| You see | Show | Then |
|---|---|---|
409 PHONE_SHARE_APPROVAL_REQUIRED with number_possibly_reassigned: true | "Confirm from your phone" | Retry the same call after the phone confirms. |
409 PHONE_SHARE_APPROVAL_REQUIRED with consent_email_unanswered: true | Your usual phone-share message | Retry the same call after the owner approves. |
409 PHONE_SHARE_APPROVAL_REQUIRED with number_reassigned: true | message | Stop. Never retry. |
403 DEVICE_REQUIRES_ELEVATION with number_possibly_reassigned: true | message | Email code confirmation, as for any elevation. |