Set Up HTTP Signature Message
Setting up your HTTP signature message requires you to follow these steps.
- Sign up and register aNational Australia BankGateway Portalsandbox account. See Sign Up for a Sandbox Account.
- Create a shared secret key. See Create a Shared Secret Key Pair.
- Construct a message using HTTP signature security. See Construct Messages Using HTTP Signature Security.
- Go live by signing up and registering aNational Australia BankGateway Portalproduction account. Going Live.
Create a Shared Secret Key Pair
Key pairs are used with HTTP Signature message security.
Sign Up for a Sandbox Account
The first step to set up your account is to sign up for a sandbox account. From this account
you can obtain your security keys and test your implementation.
To create a sandbox account, contact customer support: https://nabgateway-developer.nab.com.au/support/contact-us.html.
Create a Shared Secret Key Pair
Key pairs are used with HTTP Signature message security.
Construct Messages Using HTTP Signature Security
HTTP signatures use a digital signature to enable the receiver to validate the sender's
authenticity and ensure that the message was not tampered with during transit. For more
information about HTTP signatures, see the IETF Draft that is maintained by the IETF
HTTP Working Group (https://httpwg.org).
Follow these steps to implement HTTP signatures:
- Create the shared secret key pair. See Create a Shared Secret Key Pair.
- Generate a hash of the message body. See Generate a Hash of the Message Body.
- Generate a signature hash. See Generate the Signature Hash.
- Populate thesignatureheader field. See Update Header Fields.
Going Live
When you are ready to process payments in a live environment, you must transition your account
to a live status with a valid configuration for your chosen payment processor. When
live, your transaction data flows through the production
National Australia Bank
gateway, to your processor, and on to the appropriate payment network.To transition your account:
- Sign up for a merchant account.
- Contact Salesto establish a contract withNational Australia Bankthat enables you to process real transactions and receive support.
- Submit a merchant ID (MID) activation request.
It may take up to three business days to complete a MID activation request.