Request headers
Clients must send appropriate headers with all requests.
HTTP headers
User-Agent header
User-Agent headers are used by the Afterpay team to identify API requests. You can use the following information to help generate your User-Agent header. User-Agent header must be supplied with all Merchant API requests prior to placing any live transactions.
For example: MyAfterpayModule/1.0.0 (E-Commerce Platform Name/1.0.0; PHP/7.0.0; Merchantname/600032000) https://merchant.example.com
Note
In this case the Merchant ID is your company name or organization name followed by an eight-digit number.