Parameters Definition
This page describes the parameters that can be passed in your inline JS function or Form post
Xprespay Inline Parameter
| Parameter | Required | Description |
|---|---|---|
| publicKey | true | Your merchant public key, see how to get your API Keys |
| transactionId | true | Unique transaction reference provided by you. |
| amount | true | Amount to debit. |
| currency | false | currency to charge in. Defaults to NGN |
| country | false | route country. Defaults to NG |
| true | Email of the customer. | |
| phoneNumber | false | phone number of the customer. |
| firstName | false | firstname of the customer. |
| lastName | false | lastname of the customer. |
| callbackUrl | true | URL to redirect to when transaction is completed. |
| logoURL | false | Link to the Logo image. Default to Xpresspay logo |
| hash | true | This is a sha256 hash of your xpressPayonlineSetup values, it is used for passing secured values to the payment gateway. Check Securing your Payments |
Xpresspay Form Post
| Parameter | Required | Description |
|---|---|---|
| publicKey | true | Your merchant public key, see how to get your API Keys |
| transactionId | true | Unique transaction reference provided by you. |
| amount | true | Amount to debit. |
| currency | false | currency to charge in. Defaults to NGN |
| country | false | route country. Defaults to NG |
| true | Email of the customer. | |
| phoneNumber | false | phone number of the customer. |
| firstName | false | first name of the customer. |
| lastName | false | last name of the customer. |
| callbackUrl | true | URL to redirect to when transaction is completed. |
| logoURL | false | Link to the Logo image. Default to Xpresspay logo |
| hash | true | This is a sha256 hash of your xpressPayonlineSetup values, it is used for passing secured values to the payment gateway. Check Securing your Payments |
Updated over 5 years ago
