AmeriaClientParams
Defined in: src/client.ts:74
Options for AmeriaClient.
Properties
Section titled “Properties”clientId
Section titled “clientId”clientId:
string
Defined in: src/client.ts:76
Client ID issued by Ameriabank.
username
Section titled “username”username:
string
Defined in: src/client.ts:77
password
Section titled “password”password:
string
Defined in: src/client.ts:78
isTest?
Section titled “isTest?”
optionalisTest?:boolean
Defined in: src/client.ts:80
Use the bank’s test environment (servicestest.ameriabank.am).
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?:number
Defined in: src/client.ts:82
Abort a request to the bank after this many milliseconds. Default 30000.
fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Defined in: src/client.ts:87
fetch implementation to use, e.g. one that goes through a proxy.
Defaults to the global fetch.
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>