Update an already created merchant
PUT/partner/partner/:partnerId/merchant/:merchantId
This endpoint updates an already created merchant under your partner profile. The body of the request will need data aligned with your partne configuration, i.e. ISV id used, acquirer id used, etc. Once updated, if the merchant has assigned terminal, the changes should be published to the Handpoint Gateway.
Request
Path Parameters
Possible values: non-empty
and <= 50 characters
Your partner ID.
Possible values: non-empty
and <= 20 characters
ID of the merchant to be updated.
- application/json
Body
required
The merchant to be created.
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- Array [
- ]
- ]
Possible values: non-empty
and <= 20 characters
It is a unique Handpoint ID for the merchant, it must be unique across ALL TMS merchants. Handpoint will provide a range of IDs that can be used for this purpose.
Possible values: <= 100 characters
The name of the merchant.
Possible values: <= 100 characters
The name of the merchant's location.
Possible values: <= 100 characters
First line of the merchant's address.
Possible values: <= 100 characters
Second line of the merchant's address.
Possible values: <= 100 characters
The zip code of the merchant's address.
Possible values: <= 100 characters
The city of the merchant's address.
Possible values: <= 2 characters
The country code of the merchant's address. ISO 3166 Alpha 2.
Possible values: <= 100 characters
The phone number of the merchant. It must have the country code included. For example 00447539591287 for a UK number.
Possible values: <= 100 characters
The email of the merchant.
Additional emails of the merchant.
Possible values: <= 4 characters
4 digit code that identifies the merchant's business type.
Possible values: <= 100 characters
Shared secret used to tie the merchant with the payment terminal(s), used for authentication.
Possible values: non-empty
and <= 50 characters
ID of your partner profile (provided by Handpoint)
Possible values: <= 50 characters
TMS ISV ID associated with the merchant. Handpoint will provide the list of ISV id's associated to your partner profile.
agreements object[]
Possible values: <= 1
An agreement is the acquirer specific configuration for the merchant.
Possible values: <= 50 characters
This is the ID of the acquirer(s) assigned to your partner profile in the handpoint systems. It will be provided by the Handpoint team.
Possible values: <= 100 characters
Merchant id provided by the acquirer for the merchant.
Possible values: non-empty
and <= 20 characters
It is a unique Handpoint ID for the merchant, it must be unique across ALL TMS merchants. Handpoint will provide a range of IDs that can be used for this purpose.
Possible values: >= 1
The list of currencies configured on the acquirer level (usually this is a single currency) Use the ISO 4217 code for the currency.
protocolData object[]
Possible values: >= 1
It is the specific configuration for the acquirer(s) assigned to your partner profile. Ask Handpoint about which values are required per acquirer.
Possible values: [AMEX
, BORGUN
, EVO
, OMNIPAY
, PostBridge
, TNS
, TSYS
, VANTIV
, ViscusDummy
]
The acquirer to which transactions will be sent to by the payment terminals. ViscusDummy is a simulator used for testing purposes.
Possible values: <= 100 characters
It is the merchant id provided by the acquirer.
Possible values: <= 50 characters
Additional merchant ids provided by the acquirer.
Possible values: <= 100 characters
It is the terminal id provided by the acquirer. Some acquirers do not provide a terminal Id in which case passing a unique 8 digit value would work as well (ideally the last 8 digits of the terminal serial number).
Default value: false
It is a flag to indicate if the terminal should only accept debit cards. If activated, the terminal will start declining all transactions made with credit cards. This feature is supported by all acquirers except TNS.
The list of currencies configured on the acquirer level (usually this is a single currency) Use the ISO 4217 code for the currency.
Default value: false
This flag enables support for MOTO transactions from the payment terminal (only available for some acquirers)
Default value: false
For merchants with MOTO enabled, we can configure if entering the CVV value (3-4 digits at the back of the card) is mandatory or not.
customConfig object[]
Custom configuration for the merchant.
The key of the custom configuration.
The value of the custom configuration.
tipList object[]
Tip list configured for the merchant. Only relevant for setting up Datecs terminals, not relevant for PAX or Telpo.
TipBlock object[]
Default value: false
Enable tip functionality in the merchant. Only relevant for setting up Datecs terminals, not relevant for PAX or Telpo.
Default value: false
Show tip adjustment line in the receipt. It is only used if tipFlag is true. Only relevant for setting up Datecs terminals, not relevant for PAX or Telpo.
Initial language configured for the payment terminal. Only relevant for setting up Datecs terminals, not relevant for PAX or Telpo.
cardTokenProviderInfo object
The ID of the card token provider.
cardTokenProviderType object
The type of the card token provider.
The client id of the card token provider.
The API key of the card token provider.
Custom receipt template for the merchant, instead of the default receipt configured in the acquirer agreement. Optional
Custom home screen for the merchant, instead of the default home screen configured in the acquirer agreement. Only relevant for setting up Datecs terminals, not relevant for PAX or Telpo.
Default value: false
Allow the merchant to select the account type in the terminal. Only relevant for setting up Datecs terminals, not relevant for PAX or Telpo.
Default value: false
If true the Handpoint Payments app for PAX terminals will start in integrated mode. Not relevant for Datecs devices.
Possible values: <= 50 characters
List of ids for this merchant at a ecommerce provider.
Default value: false
Allow refund operations for the payment terminal.
Default value: false
Only allow refund operations with the original card used for the initial sale transaction.
Default value: false
Allow pre-auth operations for the payment terminal.
Possible values: <= 50 characters
Theme ID configured for the merchant. A theme allows you to customize the logos and colors appearing ih the Handpoint payments app for PAX devices to match your brand. Contact the Handpoint team if you want us to build a theme for your terminals. Not relevant for Datecs devices.
Responses
- 200
- 400
- 401
- 403
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- Array [
- ]
- ]
Possible values: non-empty
and <= 20 characters
It is a unique Handpoint ID for the merchant, it must be unique across ALL TMS merchants. Handpoint will provide a range of IDs that can be used for this purpose.
Possible values: <= 100 characters
The name of the merchant.
Your partner name. This will be provided by Handpoint
Possible values: <= 100 characters
The name of the merchant's location.
Possible values: <= 100 characters
First line of the merchant's address.
Possible values: <= 100 characters
Second line of the merchant's address.
Possible values: <= 100 characters
The zip code of the merchant's address.
Possible values: <= 100 characters
The city of the merchant's address.
Possible values: <= 2 characters
The country code of the merchant's address. ISO 3166 Alpha 2.
Possible values: <= 100 characters
The phone number of the merchant. It must have the country code included. For example 00447539591287 for a UK number.
Possible values: <= 100 characters
The email of the merchant.
Additional emails of the merchant.
Possible values: <= 4 characters
4 digit code that identifies the merchant's business type.
Currencies supported by this merchant. It depends on the acquirer in the agreement.
Possible values: <= 100 characters
Shared secret used to tie the merchant with the payment terminal(s), used for authentication.
Possible values: non-empty
and <= 50 characters
ID of your partner profile (provided by Handpoint)
Possible values: <= 50 characters
TMS ISV ID associated with the merchant. Handpoint will provide the list of ISV id's associated to your partner profile.
ISV name associated with the merchant. Handpoint will provide the list of ISV names associated to your partner profile.
agreements object[]
Possible values: <= 1
An agreement is the acquirer specific configuration for the merchant.
Possible values: <= 50 characters
This is the ID of the acquirer(s) assigned to your partner profile in the handpoint systems. It will be provided by the Handpoint team.
Possible values: <= 100 characters
Merchant id provided by the acquirer for the merchant.
Possible values: non-empty
and <= 20 characters
It is a unique Handpoint ID for the merchant, it must be unique across ALL TMS merchants. Handpoint will provide a range of IDs that can be used for this purpose.
Possible values: >= 1
The list of currencies configured on the acquirer level (usually this is a single currency) Use the ISO 4217 code for the currency.
protocolData object[]
Possible values: >= 1
It is the specific configuration for the acquirer(s) assigned to your partner profile. Ask Handpoint about which values are required per acquirer.
Possible values: [AMEX
, BORGUN
, EVO
, OMNIPAY
, PostBridge
, TNS
, TSYS
, VANTIV
, ViscusDummy
]
The acquirer to which transactions will be sent to by the payment terminals. ViscusDummy is a simulator used for testing purposes.
Possible values: <= 100 characters
It is the merchant id provided by the acquirer.
Possible values: <= 50 characters
Additional merchant ids provided by the acquirer.
Possible values: <= 100 characters
It is the terminal id provided by the acquirer. Some acquirers do not provide a terminal Id in which case passing a unique 8 digit value would work as well (ideally the last 8 digits of the terminal serial number).
Default value: false
It is a flag to indicate if the terminal should only accept debit cards. If activated, the terminal will start declining all transactions made with credit cards. This feature is supported by all acquirers except TNS.
The list of currencies configured on the acquirer level (usually this is a single currency) Use the ISO 4217 code for the currency.
Default value: A
For Handpoint internal use only.
Default value: false
This flag enables support for MOTO transactions from the payment terminal (only available for some acquirers)
Default value: false
For merchants with MOTO enabled, we can configure if entering the CVV value (3-4 digits at the back of the card) is mandatory or not.
Default value: false
If any of the protocol data in the agreement has the debitCardOnly flag set to true, then this flag will be set to true.
customConfig object[]
Custom configuration for the merchant.
The key of the custom configuration.
The value of the custom configuration.
tipList object[]
Tip list configured for the merchant. Only relevant for setting up Datecs terminals, not relevant for PAX or Telpo.
TipBlock object[]
Default value: false
Enable tip functionality in the merchant. Only relevant for setting up Datecs terminals, not relevant for PAX or Telpo.
Default value: false
Show tip adjustment line in the receipt. It is only used if tipFlag is true. Only relevant for setting up Datecs terminals, not relevant for PAX or Telpo.
Default value: false
True if the merchant has terminals assigned in the TMS.
Default value: false
True if the merchant has android terminals assigned in the TMS (PAX or Telpo).
Initial language configured for the payment terminal. Only relevant for setting up Datecs terminals, not relevant for PAX or Telpo.
Default value: false
True if partner has cloud API access enabled. Handpoint will enable this parameter on your partner profile.
cardTokenProviderInfo object
The ID of the card token provider.
cardTokenProviderType object
The type of the card token provider.
The name of the card token provider type.
The category of the card token provider type.
Indicates if the client id is required for the card token provider type.
The client id of the card token provider.
The API key of the card token provider.
Default value: false
Indicates if the partner supports tokenization.
Default value: false
Indicates if the partner has any API key defined.
Default value: false
Indicates if the isv has any API key defined.
Custom receipt template for the merchant, instead of the default receipt configured in the acquirer agreement. Optional
Custom home screen for the merchant, instead of the default home screen configured in the acquirer agreement. Only relevant for setting up Datecs terminals, not relevant for PAX or Telpo.
Default value: false
Allow the merchant to select the account type in the terminal. Only relevant for setting up Datecs terminals, not relevant for PAX or Telpo.
Default value: false
If true the Handpoint Payments app for PAX terminals will start in integrated mode. Not relevant for Datecs devices.
Possible values: <= 50 characters
List of ids for this merchant at a ecommerce provider.
Default value: false
Allow refund operations for the payment terminal.
Default value: false
Only allow refund operations with the original card used for the initial sale transaction.
Default value: false
Allow pre-auth operations for the payment terminal.
Possible values: <= 50 characters
Theme ID configured for the merchant. A theme allows you to customize the logos and colors appearing ih the Handpoint payments app for PAX devices to match your brand. Contact the Handpoint team if you want us to build a theme for your terminals. Not relevant for Datecs devices.
Creation date time of the merchant.
{
"merchantId": "string",
"merchantName": "string",
"partnerFullName": "string",
"locationName": "string",
"addressLine1": "string",
"addressLine2": "string",
"zipCode": "string",
"city": "string",
"countryCodeAlpha2": "string",
"phone": "string",
"email": "string",
"otherEmails": [
"string"
],
"merchantCategoryCode": "string",
"currencies": [
"string"
],
"sharedSecret": "string",
"partnerId": "string",
"isvId": "string",
"isvName": "string",
"agreements": [
{
"acquirer": "string",
"acquirerMid": "string",
"merchant": "string",
"currencies": [
"string"
],
"protocolData": [
{
"protocol": "AMEX",
"acquirerMid": "string",
"authorizedMids": [
"string"
],
"defaultAcquirerTid": "string",
"debitCardOnly": false,
"currencies": [
"string"
],
"gwConfigDummyFlag": "A",
"supportsMoto": false,
"motoCvvMandatory": false
}
],
"debitCardOnly": false
}
],
"customConfig": [
{
"key": "string",
"value": "string"
}
],
"tipList": [
{
"TipBlock": [
{
"option": "string",
"blockNo": "string"
}
]
}
],
"tipFlag": false,
"showTipAdjustmentLine": false,
"anyTerminalAssigned": false,
"hasAnyAndroidDevice": false,
"defaultCardReaderLanguage": "string",
"partnerCloudPosEnabled": false,
"cardTokenProviderInfo": {
"cardTokenProviderId": "string",
"cardTokenProviderType": {
"typeName": "string",
"category": "string",
"clientIdRequired": true
},
"clientId": "string",
"apiKey": "string",
"partnerSupportsTokenization": false,
"anyApiKeyDefinedByPartner": false,
"anyApiKeyDefinedByIsv": false
},
"customReceiptTemplate": "string",
"customHomeScreen": "string",
"enableAccountTypeSelection": false,
"defaultCloudMode": false,
"eCommerceMID": [
"string"
],
"refundAllowed": false,
"refundOriginalCardOnly": false,
"preAuthAllowed": false,
"theme": "string",
"creationDate": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Error code.
Reason of the error.
Message guid of the error.
{
"code": "string",
"reason": "string",
"messageGuid": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Error code.
Reason of the error.
Message guid of the error.
{
"code": "string",
"reason": "string",
"messageGuid": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error code.
Reason of the error.
Message guid of the error.
{
"code": "string",
"reason": "string",
"messageGuid": "string"
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Error code.
Reason of the error.
Message guid of the error.
{
"code": "string",
"reason": "string",
"messageGuid": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
Error code.
Reason of the error.
Message guid of the error.
{
"code": "string",
"reason": "string",
"messageGuid": "string"
}