Quickstart¶
All configs are passed around as a single variable config
:
$postpay = new \Postpay\Postpay([
'merchant_id' => 'id_ ...',
'secret_key' => 'sk_live_ ...',
]);
Name |
Type |
Description |
---|---|---|
merchant_id |
String❗ |
Merchant ID. |
secret_key |
String❗ |
The secret key. |
client_handler |
String |
The client handler, options are |
api_version |
String |
The API version. Default: |
sandbox |
Boolean |
Set to |
A trailing exclamation mark❗is used to denote a field that uses a Non‐Null type. By default, all types are nullable.