Skip to main content

Test your integration

In this section we provide development resources to simulate transaction scenarios and functionality in our Sandbox environment. You can use this mechanism to ensure that your integration works as expected before moving on to perform live transactions.

Getting access

To access NomuPay's services, you can contact NomuPay's support team. They will provide you with the necessary information to interact with both the Sandbox and Live environments.

API signature and verification credentials

These credentials are necessary for authenticating your API requests and verifying the responses.

First, you will be asked to provide the public key, follow the instructions to create the key. Once NomuPay support team has registered the credentials, you will receive the following information.

KeyDescription
kidThe identifer of the API credential to be used for signing the request and verifying the API response message.
processingAccountIdTo be passed in the requests that require the processingAccountId field.
sharedKeyTo be used for verifying the API response message.

Webhooks verification credentials

Required if webhooks have been requested. Allows you to verify the signature of the webhook message.

You will be asked to provide the endpoints to receive notifications, and you will be provided with the following information to verify the notification signature.

Please follow the instructions How to listen to webhooks.

KeyDescription
kidThe identifer of the sharedKey to be used for verifying the webhook message.
sharedKeyTo be used for verifying the webhook message.

Test cards

Payment methodCard numberCVVExpiry Date
Visa400000000000000233301/30
Mastercard555555555555444433301/30
Maestro670344444444444933301/30
Troy979203000000000033301/30

Simulating card payments

Different card processing scenarios can be simulated based on certain request values (e.g. amount, CVV, etc.).

Status/Reason

Request amounts configured to return a specific status and reason.

Request amountHTTP Status CodeStatusReason
9000200Declinedrejected_by_issuer
9100200Failedprocessing_error

For further information go to section Reason codes.

AVS

Request street values configured to return a specific AVS result.

Request streetAVS result
900A
901B
902C
903D
904E
905F
906G
907I
908M
909N
910P
911R
912S
913U
914W
915X
916Y
917Z

For further information go to section Result codes.

CVV

Request CVV values configured to return a specific CVV result.

Request CVVCVV result
900M
901N
902P
903U
904S

For further information go to section Result codes.

Simulating alternative payments

For alternative payments, there is a simulation page to complete the payment, the site address will be returned in the payment response.

How to complete sandbox alternative payment

Going live

Certify your integration

To ensure the correct implementation of your integration for the cases you will support before going live, we require a certification test to be passed against our Sandbox environment. NomuPay's support team will assist you with the certification process.

Live test

Once the certification process is completed successfully, your live account will be configured. The final Live API and webhooks credentials will be provided to you to perform the production certification in our Live environment.

Postman collection

You can try out our API using the NomuPay API Postman collection.

For asynchronous flows that require a redirection to the payment method site, you can use this payments redirect utility to copy the payment response and be redirected.

If you do not have your merchant account ready, please contact NomuPay's developer support team at support@nomupay.com. The account manager will provide your account information.

After you download the API Postman collection, you should import it to your Postman workspace and set your account information in the collection's variables:

  • ProcessingAccountId. Provided by the customer support team.
  • Kid. Provided by the customer support team.
  • PrivateKey. You can generate it following the steps in the
  • "API authentication" section and it must include markers:
    • -----BEGIN EC PRIVATE KEY-----[Introduce your key here]-----END EC PRIVATE KEY-----

To import the collection:

  1. Click on the Import button over your workspace bar.
  2. Upload the NomuPay API Postman collection file downloaded by selecting it from your local device.
  3. Confirm the new collection and the name assigned.

How to import postman collection

To set your account information in the collection's variables:

  1. Open the Variables tab on the collection screen.
  2. Set your account values, provided by NomuPay developer support, replacing the placeholder.
  3. Save the changes.

How to set variables to postman collection