Skip to content

Commit

Permalink
Update environments documentation with offramp
Browse files Browse the repository at this point in the history
  • Loading branch information
andregoncalvesdev committed Oct 11, 2024
1 parent 0e82335 commit 5ea4014
Showing 1 changed file with 26 additions and 15 deletions.
41 changes: 26 additions & 15 deletions docs/environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,37 @@ If you face issues initializing Topper and see a 'something went wrong' error pa

You can bypass email authentication and phone verification codes by typing `000000`.

### Credit cards

The following card details can be used to force specific outcomes:

| Card number | Outcome |
|------------------|-------------------------|
| 4921817844445119 | `success` |
| 4312810406702461 | `card_unauthorized` |
| 4414745735532923 | `card_declined_by_bank` |
| 4916426384864999 | `request_data_invalid` |
| 4086439018748730 | `card_expired` |
| 4532942248840268 | `card_unsupported` |
| 4929216735379028 | `insufficient_funds` |
| 4748972091871094 | `amount_invalid` |
| 4916526184701927 | `velocity` |
### Cards

The following card details can be used to force specific outcomes when creating accounts:

| Card number | Outcome | Type | Country | Brand |
|------------------|-------------------------|--------|---------|------------|
| 5318773012490080 | `success` | debit | US | MasterCard |
| 4748972091871094 | `amount_invalid` | debit | US | Visa |
| 4818924250131070 | `card_unauthorized` | debit | GB | Visa |
| 4407108123937239 | `card_unauthorized` | credit | GB | Visa |
| 4414745735532923 | `card_declined_by_bank` | credit | US | Visa |
| 5148447461737269 | `card_declined_by_bank` | debit | US | MasterCard |
| 4086439018748730 | `card_expired` | credit | US | Visa |
| 4695070264707089 | `card_expired` | debit | US | Visa |
| 4532942248840268 | `card_unsupported` | credit | AD | Visa |
| 4472010538259482 | `card_unsupported` | debit | US | Visa |
| 4916426384864999 | `request_data_invalid` | credit | US | Visa |
| 4648778096000816 | `request_data_invalid` | debit | US | Visa |
| 4929216735379028 | `insufficient_funds` | credit | MT | Visa |
| 4247318851058116 | `insufficient_funds` | debit | US | Visa |
| 4916526184701927 | `velocity` | credit | AE | Visa |
| 4467625019643180 | `velocity` | debit | US | Visa |

:::tip
When using the above card numbers, Topper will accept any value for the expiry date and CVV.
:::

:::caution
In the `crypto_offramp` flow, only `debit` cards that match the user's country of residence will be accepted.
:::

## Production

After successfully onboarding and testing your integration in our sandbox environment, you can start Topper sessions for your end users using the production environment.
Expand Down

0 comments on commit 5ea4014

Please sign in to comment.