@rolatech/angular-services 20.2.2-beta.3 → 20.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1929,6 +1929,12 @@ class PaymentService extends BaseService {
|
|
|
1929
1929
|
this.endpoint = 'payments';
|
|
1930
1930
|
super.init();
|
|
1931
1931
|
}
|
|
1932
|
+
me(options) {
|
|
1933
|
+
return this.http.get(`${this.actionUrl}/me`, {
|
|
1934
|
+
params: options,
|
|
1935
|
+
withCredentials: true,
|
|
1936
|
+
});
|
|
1937
|
+
}
|
|
1932
1938
|
createPaymentIntent(data) {
|
|
1933
1939
|
return this.http.post(`${this.actionUrl}/intents`, data, {
|
|
1934
1940
|
withCredentials: true,
|