π§© Nowpayments
An extension for MIT App Inventor 2.Developed by ali using Fast.
Specifications
Package: com.ali.nowpayments
Size: 14.37 KB
Version: 1.0
Minimum API Level: 14
Updated On: 2025-10-25T07:00:00Z
Built & documented using: FAST v5.2.0
Events:
Nowpayments has total 4 events.
1. GotResponse
Event triggered when an API call succeeds
| Parameter | Type |
|---|---|
| method | text |
| response | text |
2. ErrorResponse
Event triggered when an API call fails
| Parameter | Type |
|---|---|
| method | text |
| errorMessage | text |
3. PaymentCreated
Event triggered when payment is created successfully
| Parameter | Type |
|---|---|
| paymentId | text |
| paymentUrl | text |
4. PaymentStatusChanged
Event triggered when payment status changes
| Parameter | Type |
|---|---|
| paymentId | text |
| status | text |
Methods:
Nowpayments has total 15 methods.
1. GetAPIStatus
Check the status of NOWPayments API
2. EstimatePrice
Estimate the amount of cryptocurrency for a given fiat amount
| Parameter | Type |
|---|---|
| amount | text |
| currencyFrom | text |
| currencyTo | text |
3. GetCurrencies
Get list of supported currencies
4. GetMinimumPaymentAmount
Get minimum payment amount for specific currencies
| Parameter | Type |
|---|---|
| currencyFrom | text |
| currencyTo | text |
5. CreatePayment
Create a new payment
| Parameter | Type |
|---|---|
| priceAmount | text |
| priceCurrency | text |
| payCurrency | text |
| orderId | text |
6. GetPaymentStatus
Get status of a payment by its ID
| Parameter | Type |
|---|---|
| paymentId | text |
7. CreateInvoice
Create an invoice for payment
| Parameter | Type |
|---|---|
| priceAmount | text |
| priceCurrency | text |
| payCurrency | text |
| orderId | text |
8. CreateOffSitePayment
Create payment with off-site checkout (redirect URL)
| Parameter | Type |
|---|---|
| priceAmount | text |
| priceCurrency | text |
| payCurrency | text |
| orderId | text |
9. GetPaymentHistory
Get payment history with pagination
| Parameter | Type |
|---|---|
| limit | text |
| offset | text |
10. GetBalance
Check account balance
11. GetPaymentMethods
Get list of available payment methods
12. GetExchangeRates
Get exchange rates for all supported currencies
13. IsCurrencySupported
Validate if a cryptocurrency is supported
| Parameter | Type |
|---|---|
| currencyCode | text |
14. CreateWithdrawal
Create a withdrawal request
| Parameter | Type |
|---|---|
| currency | text |
| amount | text |
| address | text |
15. GetWithdrawalHistory
Get withdrawal history
Setters:
Nowpayments has total 8 setter properties.
1. ApiKey
Set your NOWPayments API key
- Input type:
text
2. SandboxMode
Enable or disable sandbox mode for testing
- Input type:
boolean
3. SuccessUrl
Payment success URL
- Input type:
text
4. CancelUrl
Payment cancel URL
- Input type:
text
5. IpnCallbackUrl
IPN callback URL
- Input type:
text
6. CustomerEmail
Customer email for payment
- Input type:
text
7. CustomerName
Customer name for payment
- Input type:
text
8. OrderDescription
Order description
- Input type:
text
Getters:
Nowpayments has total 8 getter properties.
1. ApiKey
Set your NOWPayments API key
- Return type:
text
2. SandboxMode
Enable or disable sandbox mode for testing
- Return type:
boolean
3. SuccessUrl
Payment success URL
- Return type:
text
4. CancelUrl
Payment cancel URL
- Return type:
text
5. IpnCallbackUrl
IPN callback URL
- Return type:
text
6. CustomerEmail
Customer email for payment
- Return type:
text
7. CustomerName
Customer name for payment
- Return type:
text
8. OrderDescription
Order description
- Return type:
text
Note
I just compiled this aix i donβt own it
For more info ask @Adnan_Ali1 as the owner of the code provided
DOWNLOAD BELOW
com.ali.nowpayments.aix (14.4 KB)