Configuration
#
OptionsWith simplicity in mind, pesa-js sdk is also flexible allowing several configutation to fine tune to your needs.
Attribute | Required | Data type | Default value | Available options |
---|---|---|---|---|
market | โ | string | TZN | TZN,GHA |
currency | โ | string | TZS | TZS,GHS |
api_key | โ | string | null | |
public_key | โ | string | null | |
enviroment | โ | string | sandbox |
#
Http Client OptionsAttribute | Required | default value |
---|---|---|
header | โ | {} |
origin | โ | * |