-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathconfigs.ts
More file actions
67 lines (62 loc) · 1.21 KB
/
configs.ts
File metadata and controls
67 lines (62 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/**
* V# API Standard initialization endpoint
*/
export const STANDARD_URL = 'https://api.flutterwave.com/v3/sdkcheckout/payments';
/**
* Redirect URL used in V3 FlutterwaveButton
*/
export const REDIRECT_URL = 'https://flutterwave.com/rn-redirect';
/**
* Fluttereave volors
*/
export const colors = {
primary: '#f5a623',
primaryLight: '#f9ce85',
secondary: '#12122C',
transparent: 'rgba(0,0,0,0)',
};
/**
* Payment options available in V3
*/
export const PAYMENT_OPTIONS = [
'account',
'card',
'banktransfer',
'mpesa',
'mobile_money_rwanda',
'mobile_money_zambia',
'qr',
'mobile_money_uganda',
'ussd',
'credit',
'barter',
'mobile_money_ghana',
'payattitude',
'mobile_money_franco',
'paga',
'1voucher',
'mobile_money_tanzania',
];
/**
* V2 API standard initialization endpoint
*/
export const STANDARD_URL_V2: string =
'https://api.ravepay.co/flwv3-pug/getpaidx/api/v2/hosted/pay';
/**
* Payment options available in V2 API
*/
export const PAYMENT_OPTIONS_V2 = [
'card',
'account',
'ussd',
'qr',
'mpesa',
'mobilemoneyghana',
'mobilemoneyuganda',
'mobilemoneyrwanda',
'mobilemoneyzambia',
'mobilemoneytanzania',
'barter',
'bank transfer',
'wechat',
];