Configuration

Options#

With simplicity in mind, php-pesa sdk is also flexible allowing several configutation to fine tune to your needs.

AttributeRequiredData typeDefault valueAvailable options
marketโŒstringTZNTZN,GHA
currencyโŒstringTZSTZS,GHS
api_keyโœ…stringnull
public_keyโœ…stringnull
enviromentโœ…stringsandbox

Http Client Options#

AttributeRequireddefault value
headerโŒ{}
originโŒ*