Skip to content

Commit 5e4be46

Browse files
committed
Merge remote-tracking branch 'origin/setup/thepeer-android-init' into setup/thepeer-android-init
2 parents ee62ac3 + 2b302fa commit 5e4be46

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ override fun onCreate(savedInstanceState: Bundle?) {
6363
val thePeer = ThePeer.Builder(
6464
activity = this,
6565
amount = BigDecimal(10000.00),
66-
currency = ThePeerCurrency.NAIRA,
66+
currency = "NGN",
6767
userReference = getString(R.string.user_reference),
6868
resultListener = resultListener
6969
).setMeta(mapOf("remark" to "Enjoy")).build()
@@ -86,7 +86,7 @@ JAVA
8686
ThePeer thePeer =new ThePeer.Builder(
8787
this,
8888
new BigDecimal("1000.00"),
89-
ThePeerCurrency.NAIRA,
89+
"NGN",
9090
getResources().getString(R.string.user_reference),
9191
new ThePeerResultListener())
9292

@@ -96,7 +96,7 @@ JAVA
9696
| Paramater name | Description | Required |
9797
|------------------------ | --------------------------------------|--------------------------------------|
9898
| `amount` | The amount you intend to send and must be pass as an integer in kobo |`true`|
99-
| `currency ` | Currency which can be `ThePeerCurrency.NGN` or `ThePeerCurrency.USD` |`true`|
99+
| `currency ` | Currency which can be `"NGN"` or `"USD"` |`true`|
100100
| `userReference` | The user reference returned by Thepeer API when a user has been indexed |`true`|
101101
| `meta` | This object should contain additional/optional attributes you would like to have on your transaction response |`false`|
102102

@@ -213,4 +213,12 @@ JAVA
213213

214214

215215
```
216+
## Support
217+
218+
If you're having trouble with Thepeer React or your integration, please reach out to us at <[email protected]>. We're more than happy to help you out.
219+
220+
## Thepeer API References
221+
222+
- [Thepeer API Docs](https://docs.thepeer.co)
223+
- [Thepeer Dashboard](https://dashboard.thepeer.co)
216224

0 commit comments

Comments
 (0)