UNPKG
@yuju/tosspayments-sdk
Version:
latest (0.1.1)
0.1.1
Toss Payments SDK for Node.js
github.com/yujutown/tosspayments-sdk.js
@yuju/tosspayments-sdk
/
dist
/
httpClient.d.ts
10 lines
(9 loc)
•
288 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
declare
class
HttpClient
{
private
domain;
private
basicAuth;
constructor
(
domain
:
string
,
basicAuth
:
string
); post<T>(
headers
: { [
key
:
string
]:
string
; },
path
:
string
,
body
:
any
):
Promise
<T>; get<T>(
path
:
string
,
searchParams
?:
any
):
Promise
<T>; }