---
agentTools:
  projectIndex: https://docs.xpresspayonline.com/llms.txt
---

# Parameters Definition

This page describes the parameters that can be passed in your inline JS function or Form post

[block:api-header]
{
  "title": "Xprespay Inline Parameter"
}
[/block]

[block:parameters]
{
  "data": {
    "h-0": "Parameter",
    "h-1": "Required",
    "h-2": "Description",
    "0-0": "publicKey",
    "1-0": "transactionId",
    "2-0": "amount",
    "3-0": "currency",
    "4-0": "country",
    "5-0": "email",
    "6-0": "phoneNumber",
    "7-0": "firstName",
    "8-0": "lastName",
    "9-0": "callbackUrl",
    "10-0": "logoURL",
    "11-0": "hash",
    "0-1": "true",
    "1-1": "true",
    "2-1": "true",
    "3-1": "false",
    "4-1": "false",
    "5-1": "true",
    "6-1": "false",
    "7-1": "false",
    "8-1": "false",
    "9-1": "true",
    "10-1": "false",
    "11-1": "true",
    "0-2": "Your merchant public key, see how to get your [API Keys](https://docs.xpresspayonline.com/docs/api-keys)",
    "1-2": "Unique transaction reference provided by you.",
    "2-2": "Amount to debit.",
    "3-2": "currency to charge in. Defaults to NGN",
    "4-2": "route country. Defaults to NG",
    "5-2": "Email of the customer.",
    "6-2": "phone number of the customer.",
    "7-2": "firstname of the customer.",
    "8-2": "lastname of the customer.",
    "9-2": "URL to redirect to when transaction is completed.",
    "10-2": "Link to the Logo image. Default to Xpresspay logo",
    "11-2": "This is a sha256 hash of your xpressPayonlineSetup values, it is used for passing secured values to the payment gateway.\nCheck [Securing your Payments](https://docs.xpresspayonline.com/docs/securing-your-payments)"
  },
  "cols": 3,
  "rows": 12
}
[/block]

[block:api-header]
{
  "title": "Xpresspay Form Post"
}
[/block]

[block:parameters]
{
  "data": {
    "0-0": "publicKey",
    "h-0": "Parameter",
    "h-1": "Required",
    "h-2": "Description",
    "0-1": "true",
    "0-2": "Your merchant public key, see how to get your [API Keys](https://docs.xpresspayonline.com/docs/api-keys)",
    "1-0": "transactionId",
    "2-0": "amount",
    "3-0": "currency",
    "4-0": "country",
    "5-0": "email",
    "6-0": "phoneNumber",
    "7-0": "firstName",
    "8-0": "lastName",
    "9-0": "callbackUrl",
    "10-0": "logoURL",
    "11-0": "hash",
    "11-2": "This is a sha256 hash of your xpressPayonlineSetup values, it is used for passing secured values to the payment gateway.\nCheck [Securing your Payments](https://docs.xpresspayonline.com/docs/securing-your-payments)",
    "11-1": "true",
    "10-2": "Link to the Logo image. Default to Xpresspay logo",
    "10-1": "false",
    "9-1": "true",
    "9-2": "URL to redirect to when transaction is completed.",
    "8-1": "false",
    "7-1": "false",
    "7-2": "first name of the customer.",
    "8-2": "last name of the customer.",
    "6-2": "phone number of the customer.",
    "6-1": "false",
    "5-1": "true",
    "5-2": "Email of the customer.",
    "4-2": "route country. Defaults to NG",
    "4-1": "false",
    "3-1": "false",
    "3-2": "currency to charge in. Defaults to NGN",
    "2-2": "Amount to debit.",
    "2-1": "true",
    "1-1": "true",
    "1-2": "Unique transaction reference provided by you."
  },
  "cols": 3,
  "rows": 12
}
[/block]