Search

Are you looking for test card numbers?

Would you like to contact support?

Point-of-sale icon

Register the application with Adyen

After you initialize the library, you must register the cash register application with Adyen.

POS Object

Name Description
POS POS object that represents the cash register application.

Method

Name Description

RegisterApp

Registers the cash register application with Adyen. Registration requires a valid merchant account and API credentials to access the Adyen payments platform. A unique cash register identifier is required.

Parameters

Name Type Required Description
merchantAccount String -white_check_mark- The merchant account used for registration.
wsUser String -white_check_mark- Username of your API credential. In the Adyen Customer Area, go to Account > API credentials to create a new credential. For more information, see API credentials.
password String -white_check_mark- Basic authentication password for the API credential. In the Adyen Customer Area, go to Account > API credentials to add a new password. For more information, see Basic authentication.
appID String -white_check_mark- Unique ID of the cash register application.

Register the application once, after the cash register starts.

Callback

Name Description

RegisterAppCB

The Register App Callback returns the result of registration, as well as any errors.

Parameters

Name Type Description
appObj AppInfo Object that holds POS information. The Adyen payments platform uses this information for application registration.
pedResult int Result denoting whether an error occurred on the PED. A value of 0 means no error occurred.
pspResult int Result denoting whether an error occurred on the PSP. A value of 0 means no error occurred.
libResult int Result denoting whether an error occurred in the Library. A value of 0 means no error occurred.
errorMessage String Error message describing what went wrong.