Skip to content

Commit b15cf8d

Browse files
authored
Add .timeout sandbox test case (#228)
1 parent 7490e97 commit b15cf8d

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

docusaurus-docs/docs/sandbox.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ The sandbox provides several test UMA addresses you can use to simulate differen
6565
| `$success.inr@sandbox.umaaas.uma.money` | Always succeeds, sends INR |
6666
| `$pending.long.usd@sandbox.umaaas.uma.money` | Simulates a long-pending payment |
6767
| `$fail.compliance.usd@sandbox.umaaas.uma.money` | Simulates compliance check failure |
68+
| `$fail.timeout.usd@sandbox.uma.money` | Simulates failure due to timeout |
6869

6970
## Testing Outgoing Payments
7071

@@ -215,6 +216,13 @@ GET /receiver/$non.existent.usd@sandbox.umaaas.uma.money
215216
# ... should return 404 Not Found
216217
```
217218

219+
4. Test payment timeouts:
220+
221+
```http
222+
GET /receiver/$fail.timeout.usd@sandbox.umaaas.uma.money
223+
# ... create quote and attempt payment
224+
```
225+
218226
Each of these will trigger appropriate error webhooks and status updates to help you test your error handling.
219227

220228
## Production vs Sandbox

mintlify/remittances/developer-guides/sandbox-testing.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ The sandbox provides several test UMA addresses you can use to simulate differen
2424
| `$success.mxn@sandbox.uma.money` | Always succeeds, sends MXN |
2525
| `$pending.long.usd@sandbox.uma.money` | Simulates a long-pending payment |
2626
| `$fail.compliance.usd@sandbox.uma.money` | Simulates compliance check failure |
27+
| `$fail.timeout.usd@sandbox.uma.money` | Simulates failure due to timeout |
2728

2829
## Testing Outgoing Payments
2930

@@ -196,6 +197,13 @@ GET /receiver/$non.existent.usd@sandbox.uma.money
196197
# ... should return 404 Not Found
197198
```
198199

200+
4. Test payment timeouts:
201+
202+
```http
203+
GET /receiver/$fail.timeout.usd@sandbox.umaaas.uma.money
204+
# ... create quote and attempt payment
205+
```
206+
199207
Each of these will trigger appropriate error webhooks and status updates to help you test your error handling.
200208

201209
## Production vs Sandbox

0 commit comments

Comments
 (0)