Commit 56edba4
authored
fix: updating samples for schema changes (#194)
### TL;DR
Updated API request examples for UMA payments to use the new
source/destination structure instead of currency codes.
### What changed?
- Updated the sandbox testing examples to use the new `source` and
`destination` objects instead of `sendingCurrencyCode` and
`receivingCurrencyCode`
- Updated the UMA payment examples to use the new structure with
`sourceType`, `destinationType`, and `umaAddress` fields
- Changed `senderUserInfo` to `senderCustomerInfo` in the UMA payment
example to reflect the correct parameter name
- Removed an unnecessary comment in the payouts quickstart example
### How to test?
- Try executing the updated API requests against the sandbox environment
- Verify that UMA payments work correctly with the new request structure
- Confirm that sender information is properly passed using the
`senderCustomerInfo` field
### Why make this change?
The API has been updated to use a more structured approach for
specifying payment sources and destinations, which provides better
clarity and flexibility. This change ensures the documentation reflects
the current API design and helps users implement UMA payments correctly.1 parent a34c23d commit 56edba4
3 files changed
Lines changed: 34 additions & 12 deletions
File tree
- mintlify
- global-p2p/platform-tools
- payouts-and-b2b
- snippets/sending
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
| |||
165 | 171 | | |
166 | 172 | | |
167 | 173 | | |
168 | | - | |
169 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
170 | 182 | | |
171 | 183 | | |
172 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
275 | 274 | | |
276 | 275 | | |
277 | 276 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
52 | | - | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
| |||
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
65 | 76 | | |
66 | 77 | | |
67 | 78 | | |
| |||
0 commit comments