Amazon Pay V2

1. About Amazon Pay

1.1 General information about Amazon Pay


Amazon Pay is a fast, secure, and trusted payment solution that allows buyers to use their Amazon credentials to make purchases on your website. By integrating Amazon Pay, you can offer a seamless checkout experience and increase conversion rates.

Customer journey

  1. Product Selection & Checkout: Buyer adds products to their cart and proceeds to checkout by selecting the Amazon Pay button.
  2. Amazon Login & Credentials Selection: Buyer is redirected to Amazon’s login page to sign in to their Amazon account. After login, buyer selects their preferred payment method and shipping address.
  3. Review Order: The buyer is redirected back to your website to review their order details with a possibility to change the details if needed.
  4. Place Order: Buyer confirms the purchase by clicking „Place order“. Buyer is redirected to Amazon for additional authentication that may be needed. Once successful, the transaction is authorized.
  5. Order confirmation: Buyer is redirected back to your order confirmation page.

1.2 Process flow chart

Prozessablauf Amazon Pay V2

2. Accept Amazon Pay

Follow the below steps in order to start accepting Amazon Pay.

Notice: If you are already integrated with 1cs Online Payment System for Amazon Pay V1, you can skip Step 1 and proceed directly to Step 2.

Step 1: Register for Amazon Pay

  • Register yourself at https://pay.amazon.com/signup.
  • You can switch the country on the sign-up page, as per your business location.
  • After a successful login, you can set up both sandbox and production environments on your Amazon Pay account, by switching between the two.
AmazonPay V2 Register

Step 2: Obtain MWS Autorization Token

MWS Authorization token is a secret token that enables 1cs Online Payment System to connect to Amazon on behalf of your store. It is important to generate this token and share it with 1cs Support during your onboarding process.

Steps to generate MWS Authorization token

  1. Navigate to settings and select User Permissions.
AmazonPay MWSToken

2. On the User Permissions page navigate to the section „Third-party developer and apps“ and click „Visit Manage your apps“.

AmazonPay MWSToken 2

3. On the Manage Your Apps page, click the action „Authorize new developer“.

Amazon Pay MWSToken 3

4. Provide Developer’s Name and Developer ID. Below credentials are same for Sandbox and Production environment setup.

a) Developer Name: CT_Sandbox_EU

b) Developer ID: 0143-6461-8727

5. Provide your consent in the next page. Upon completion, the MWS Authorization token will be generated. You can also view it later in the „Manage your Apps“ page.

Amazon Pay MWSToken 4

Step3: Setup Notify URL

Notify URL is used by Amazon for asynchronous responses to 1cs Online Payment System for operations like capture and refunds. You need to setup 1cs Online Payment Systems notify URL for your store on Amazon Seller Central account for these notifications to be received.

  1. Navigate to Hamburger menu on the left and select Integration → Integration Central.
Amazon Pay NotifyURL

2. Find the option IPN settings at the bottom of the page.

Amazon Pay Notify URL 2

3. Click on the link „Merchant and Integrator IPN settings“. On the page, update the field „Integrator URL“ to https://www.computop-paygate.com/amazonAPAV2Notify.aspx?mid=yourmerchantId&region=EU.

Notice: Replace your merchantId with the merchantId setup in 1cs Online Payment System.

Amazon Pay Notify URL 3

Step 4: Onboarding with First Cash Solution for Amazon Pay

In order to onboard with First Cash Solution for Amazon Pay, provide the following information. Note that the below information is needed for every market you have your presence.

  1. Country code – Country code of the market.
  2. Merchant ID – Merchant ID from your Amazon Seller Central Account.
  3. MWS Authorization Token – Generated in Step 2.
  4. Store Name – Name of the store.

Step 5: Render Amazon Pay Button

Render Amazon Pay Button on your checkout page. Use the below code snippet as a reference.

<body>

    <!-- This is the container where the Amazon Pay button will be rendered -->

    <div id="AmazonPayButton"></div>

    <!-- This script loads the Amazon Pay JavaScript SDK from Amazon's servers -->

    <script src="https://static-eu.payments-amazon.com/checkout.js"></script>

    <script type="text/javascript" charset="utf-8">

        // Render the Amazon Pay button within the 'AmazonPayButton' div.

        const amazonPayButton = amazon.Pay.renderButton('#AmazonPayButton', {

            merchantId: 'merchant_id',

            publicKeyId: 'SANDBOX-xxxxxxxxxx',

            ledgerCurrency: 'EUR',            

            checkoutLanguage: 'en_GB',

            productType: 'PayAndShip',

            placement: 'Cart',

            buttonColor: 'Gold',

            estimatedOrderAmount: { "amount": "109.99", "currencyCode": "EUR" }

        });

        // Event listener for when the Amazon Pay button is clicked

        amazonPayButton.onClick(function(){

            // Replace <<call_to_your_backend_function>> with your actual function

            // that makes a server-side call to your backend, which in turn communicates

            // with Paygate to get the 'payload', 'signature', and 'publicKeyId'

            const [payload, signature, publicKeyId] = <<call_to_your_backend_function>>();

            // Initialize the Amazon Pay checkout session with the fetched data above

            amazonPayButton.initCheckout({

                createCheckoutSessionConfig: {

                    payloadJSON: payload,

                    signature: signature,

                    publicKeyId: publicKeyId

                }

            });

        });

    </script>

</body>

Use the below table as a reference for button parameters that can be passed to render the button as per your need.

Button ParametersCNDDescriptionPermissible Values
publicKeyIdMKey provided by Amazon
placementMPlacement of the buttonPermissible values:
Cart
merchantIdMSellerId issued by Amazon
buttonColorOThe parameter buttonColor defines the color of the buttonPermissible values:
Gold, LightGray, DarkGray
Default value ‚Gold‘
checkoutLanguageOThe parameter checkoutLanguage is optionally used for defining the language of the checkout process. This is helpful especially within a multilingual shop environment.
Without submitting the parameter Language Amazon automatically uses the most suitable language for checkout.
Permissible values:
• EU/UK-merchants – ‚en_GB‘, de_DE‘, ‚fr_FR‘, ‚it_IT‘, ‚es_ES‘
productTypeOThe parameter productType defines if the transaction is done for physical or digital goods. PayAndShip is default.Permissible values:
• PayAndShip – physical goods
• PayOnly – digital goods
ledgerCurrencyMYour ledger currency. For EU accounts a different presentment currency can be used on the auth/capture.Permissible values:
• EU-merchants – ‚EUR‘
Button parameters

3. 1cs OPS interface

3.1 Definitions

3.1.1 Data formats

FormatDescription
aalphabetical
asalphabetical with special characters
nnumeric
analphanumeric
ansalphanumeric with special characters
nsnumeric with special characters
boolboolean expression (true or false)
3fixed length with 3 digits/characters
..3variable length with maximum 3 digits/characters
enumenumeration of allowed values
dttmISODateTime (JJJJ-MM-TTThh:mm:ss)
Data formats 1cs OPS interface

3.1.2 Abbreviations

FormatDescriptionComment
CNDcondition
MmandatoryIf a parameter is mandatory, then it must be present
OoptionalIf a parameter is optional, then it can be present, but it is not required
CconditionalIf a parameter is conditional, then there is a conditional rule which specifies whether it is mandatory or optional
Abbreviations

Notice: Please note that the names of parameters can be returned in upper or lower case.

Step 6: Integrate to 1cs OPS interface

Integrate your backend with 1cs OPS interface to fetch the payload to be able to initialize the checkout session with Amazon. In order to initialize a payment with Amazon Pay, please use the following URL:

 https://www.computop-paygate.com/amazonAPA.aspx

Notice: For security reasons, 1cs Online Payment System rejects all payment requests with formatting errors. Therefore, please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

ParameterFormatCNDDescription
MerchantIDans..30MMerchantID, assigned by First Cash Solution. Additionally this parameter has to be passed in plain language too.
TransIDans..64MTransactionID provided by you which should be unique for each payment
refnrns..30OMerchant’s unique reference number
MACan64MHash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: HMAC-Authentication (request) HMAC-Authentication (Notify)
CountryCodean2MCountry code of used marketplace. Options EU, US and JP.
Amountn..10MAmount in the smallest currency unit (e.g. EUR Cent). Please contact the 1cs Support, if you want to capture amounts <100 (smallest currency unit).
Currencya3MCurrency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: Currency table
URLSuccessans..256MThe buyer is redirected to this URL if action was successful
URLFailureans..256MThe buyer is redirected to this URL if action was unsuccessful
URLNotifyans..256M M
Complete URL which 1cs Online Payment System calls up in order to notify the shop about the payment result. The URL may be called up only via port 443. It may not contain parameters: Use the UserData parameter instead.
Common notes:
• Before follow-up actions (capture / credit / reversal) are carried out on an existing transaction, the first Notify must have been answered by the shop.
• Fraudster may just copy the encrypted DATA-element which are sent to URLFailure and send the DATA to URLSuccess/URLNotify. Therefore ensure to check the „code“-value which indicates success/failure of the action. Only a result of „code=00000000“ should be considered successful.
URLCancelans..256MThe buyer is redirected to this URL if the operation is cancelled
ShopUrlans..256MOrder review page where customer is redirected after confirming customer’s preferred payment instrument and optionally shipping address on the Amazon Pay-hosted page
TxTypean..20CPayment flow for charging the buyer. Supported values:
• ‚AuthorizeWithCapture‘ – Authorize and capture funds immediately, is default
• ‚Authorize‘ – Authorize funds immediately and capture at a later time
LocalCurrencya3CThe currency that the buyer will be charged in ISO 4217 format. Only possible for Amazon EU and UK markets.
Scopea..128O
The buyer details that you’re requesting access to. Possible values:
• „name“
• „email“
• „phoneNumber“
• „billingAddress“
If not included, all buyer information is requested.
ChDescans..16C
Only for sale type transactions: AuthorizeWithCapture.
Default: „AMZ*<SELLER_NAME> pay.amazon.com
OrderDescans..127OUse this parameter for the simulation mode. During live mode this parameter has no effects.
AmazonpaySimulationCodeans..O
A parameter used to simulate specific payment scenarios or behaviors during testing. For complete list of allowed simulation code, refer Amazonpay Dokumentation.
Encrypted parameters for initializing an Amazon Pay payment

Address Restriction

It is possible for the merchants to specify restrictions whether addresses that match restrictions configuration should or should not be restricted.

To send address restriction use parameter addressRestriction – json base64 encoded. Please find the overview of data elements and the schema below:

KeyFormatCNDDescription
typestringCSpecifies whether addresses that match restrictions configuration should or should not be restricted.
Supported values:
• „Allowed“ – Mark addresses that don’t match restrictions configuration as restricted
• „NotAllowed“ – Mark addresses that match restrictions configuration as restricted
restriction<countryCode:restriction>CCountry-level restrictions that determine which addresses should or should not be restricted based on type parameter.
CountryCode is a string that represents the country code of the address in ISO 3166 format.
statesOrRegions: List of country-specific states that should or should not be restricted based on type parameter
zipCodes: List of country-specific zip codes that should or should not be restricted based on type parameter
Parameters address restriction

Schema

"type""Allowed",

  "restrictions": { "US":{ "statesOrRegions": ["WA"], "zipCodes": ["95050""93405"] },

                    "GB":{ "zipCodes": ["72046""72047"] },

                    "IN":{ "statesOrRegions": ["AP"] },

                    "JP": {}

                  }

}

The above data should be base64 encoded and passed in the parameter

addressRestriction=

eyAidHlwZSI6ICJBbGxvd2VkIiwgInJlc3RyaWN0aW9ucyI6IHsgIlVTIjoKCnsgInN0YXRlc09yUmVnaW9ucyI6IFsiV0EiXSwgInppcENvZGVzIjogWyI5NTA1MCIsICI5MzQwNSJdIH0KCiwgIkdCIjoKCnsgInppcENvZGVzIjogWyI3MjA0NiIsICI3MjA0NyJdIH0KCiwgIklOIjoKCnsgInN0YXRlc09yUmVnaW9ucyI6IFsiQVAiXSB9CgosICJKUCI6IHt9IH0gfQ==

The following table describes the result parameters with which the 1cs Online Payment System responds to your system

Notice: pls. be prepared to receive additional parameters at any time and do not check the order of parameters

Notice: the key (e.g. mid, RefNr) should not be checked case-sensitive

KeyFormatCNDDescription
midans..30MMerchantID, assigned by First Cash Solution
PayIDan32MID assigned by 1cs OPS for the payment, e.g. for referencing in batch files as well as for capture or credit request.
XIDan32MID for all single transactions (authorisation, capture, credit note) for one payment assigned by 1cs OPS
TransIDans..64MTransactionID provided by you which should be unique for each payment
refnrans..30OMerchant’s unique reference number
Statusa..50MOK (URLSuccess) or FAILED (URLFailure)
buttonsignatureans..256MSignature for the Amazon button
buttonpayloadans..256MPayload for the Amazon button
buttonpublickeyidans..256MPublic Key ID for the Amazon button
Intermediate response parameters after initializing an Amazon Pay payment

Step 7: Render Review Page

Once you have initialized the checkout session with Amazon pay with the enriched payload, customer will be redirected to Amazon to login and choose payment method and shipping credentials. Once the customer finishes the step, First Cash Solution sends the payment method and shipping details to the ShopUrl you passed in the original request. Use this data to render the review page on your store.

The following table describes the result parameters with which the 1cs Online Payment System responds to your system

Notice: pls. be prepared to receive additional parameters at any time and do not check the order of parameters

Notice: the key (e.g. mid, RefNr) should not be checked case-sensitive

KeyFormatCNDDescription
midans..30MMerchantID, assigned by First Cash Solution
PayIDan32MID assigned by 1cs OPS for the payment, e.g. for referencing in batch files as well as for capture or credit reques
XIDan32MID for all single transactions (authorisation, capture, credit note) for one payment assigned by 1cs OPS
TransIDans..64MTransactionID provided by you which should be unique for each payment
Statusa..50MPENDING
Codean8M
Error code according to 1cs OPS Response Codes(A4 error codes)
AmountAuthn..10MTotal amount which is reserved at Amazon
AmountCapn..10MTotal amount which is already successfully captured at Amazon
AmountCredn..10MTotal amount which is already successfully credited at Amazon
bdAddrNameans..30CBilling address – customer name
bdAddrStreeta..32CBilling address – street and street number
bdAddrZipn..5CBilling address – postal code
bdAddrCitya..32CBilling address – town/city
bdAddrStatea..32CBilling address – state
bdAddrCountrycodea2CBilling address – alphabetic country code
bdPhoneNumberans..20CBilling address – phone number
AddrNameans..30CShipping address – customer name
AddrStreeta..32CShipping address – street and street number
AddrStreet2a..32CShipping address – line 2
AddrStreet3a..32CShipping address – line 3
AddrZipn..5CShipping address – postal code
AddrCitya..32CShipping address – town/city
AddrStatea..32CShipping address – state
AddrCountrycodea2CShipping address – alphabetic country code
PhoneNumberans..20CShipping address – phone number
buyerIdans..42MUnique amazon pay buyer identifier
buyerNameans..50MBuyer name
buyerEmailans..64MBuyer’s email
buyerPhonenumberans..20MBuyer phone number
AmazonMerchantidans..MAmazon Merchant ID
RTFans..Monetime – single order
recurring – recurring order
AmazonStatusa..50MOPEN
AmazonpayRedirectUrlans..256MURL provided by Amazon Pay
AmazoncheckoutSessionidans..32MAmazon’s checkout session ID
AmazonPaymentDescriptorans..64MPayment descriptor. E.g: „Visa ****1111 (Amazon Pay)“
Response parameter Review page

Step 8: Enable Payment and Shipping Updates

The review page should allow the customer to update their payment method and shipping details if needed.

Use amazon.Pay.bindChangeAction() to bind click events to HTML elements on your page. You can specify whether the buyer is editing shipping address or payment method by using the changeAction parameter. Below are the javascript samples for your reference. For detailed information, refer Amazon Documentation.

Changing Address

<script type="text/javascript" charset="utf-8">

  amazon.Pay.bindChangeAction('#changeButton1', {

    amazonCheckoutSessionId: 'xxxx',

    changeAction: 'changeAddress'

  });

</script>

Changing Payment Instrument

<script type="text/javascript" charset="utf-8">

  amazon.Pay.bindChangeAction('#changeButton2', {

    amazonCheckoutSessionId: 'xxxx',

    changeAction: 'changePayment'

  });

</script>

Step 9: Support amount changes

If you encounter amount changes scenarios during the review process, for example change in amount due to added shipping costs, or you support cart updates in the review page, the information needs to be updated in 1cs OPS as well as on Amazon’s system.

In order to change the amount with Amazon Pay, please use the following URL:


 https://www.computop-paygate.com/amazonAPA.aspx

Notice: For security reasons, 1cs Online Payment System rejects all payment requests with formatting errors. Therefore, please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

KeyFormatCNDDescription
PayIDan32MID assigned by 1cs OPS for the payment, e.g. for referencing in batch files as well as for capture or credit request.
EventTokenenumMStatic value: UpdateAuthorizeAmount
Amountn..10MAmount in the smallest currency unit (e.g. EUR Cent). Please contact the 1cs Support, if you want to capture amounts <100 (smallest currency unit).
Currencya3MCurrency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: Currency table
CountryCodean2MCountry code of used marketplace. Options EU, US and JP.
Parameters for changing the amount of an Amazon Pay payment

The following table describes the result parameters with which the 1cs Online Payment System responds to your system

Notice: pls. be prepared to receive additional parameters at any time and do not check the order of parameters

Notice: the key (e.g. mid, RefNr) should not be checked case-sensitive

KeyFormatCNDDescription
midans..30MMerchantID, assigned by First Cash Solution
PayIDan32MID assigned by 1cs OPS for the payment, e.g. for referencing in batch files as well as for capture or credit request.
XIDan32MID for all single transactions (authorisation, capture, credit note) for one payment assigned by 1cs OPS
Statusa..50MAUTHORIZE_REQUEST
Codean8MError code according to 1cs OPS Response Codes (A4 Error codes)
AmountAuthn..10MTotal amount which is reserved at Amazon
AmountCapn..10MTotal amount which is already successfully captured at Amazon
AmountCredn..10MTotal amount which is already successfully credited at Amazon
Response parameters for changing the amount of an Amazon Pay payment

Notice: Make sure to render or enable the final „Pay“ button only after you receive a successful response for the UpdateAuthorizeAmount event. 

Step 10: Complete Checkout

Enable the final „Pay“ button for the customer to complete the checkout with Amazon. Upon successful completion, 1cs Online Payment System will provide you a response in URLSuccess/URLFailure and URLNotify. Below are the parameters of this response.

KeyFormatCNDDescription
midans..30MMerchantID, assigned by First Cash Solution
PayIDan32MID assigned by 1cs OPS for the payment, e.g. for referencing in batch files as well as for capture or credit request.
XIDan32MID for all single transactions (authorisation, capture, credit note) for one payment assigned by 1cs OPS
TransIDans..64MTransactionID provided by you which should be unique for each payment
Statusa..50MOK
Codean8MError code according to 1cs OPS Response Codes (A4 Error codes)
AmountAuthn..10MTotal amount which is reserved at Amazon
AmountCapn..10MTotal amount which is already successfully captured at Amazon
AmountCredn..10MTotal amount which is already successfully credited at Amazon. Will be zero for the payment.
bdAddrNameans..30CBilling address – customer name
bdAddrStreeta..32CBilling address – street and street number
bdAddrZipn..5CBilling address – postal code
bdAddrCitya..32CBilling address – town/city
bdAddrStatea..32CBilling address – state
bdAddrCountrycodea2CBilling address – alphabetic country code
bdPhoneNumberans..20CBilling address – phone number
AddrNameans..30CShipping address – customer name
AddrStreeta..32CShipping address – street and street number
AddrZipn..5CShipping address – postal code
AddrCitya..32CShipping address – town/city
AddrStatea..32CShipping address – state
AddrCountrycodea2CShipping address – alphabetic country code
PhoneNumberans..20CShipping address – phone number
buyerIdans..42MUnique amazon pay buyer identifier
buyerNameans..50MBuyer name
buyerEmailans..64MBuyer’s email
buyerPhonenumberans..20MBuyer phone number
AmazonMerchantidans..MAmazon Merchant ID
RTFans..Monetime – single order
recurring – recurring order
chargeidans..MCharge ID assigned by Amazon
chargepermissionidans..MCharge Permission ID assigned by Amazon
AmazonStatusa..50MCompleted
AmazonpayRedirectUrlans..256MURL provided by Amazon Pay
AmazoncheckoutSessionidans..32MAmazon’s checkout session ID
Final response parameters for an Amazon Pay payment

Capture a payment

Capture a payment sequence diagram
Capture a payment sequence diagram

Notice: Multiple partial captures are currently not supported.

In order to capture an authorized payment with Amazon Pay, please use the following URL

 https://www.computop-paygate.com/capture.aspx

The following tables describe the transfer parameters and return values which are exchanged via the socket connection. The server-to-server communication process is described in the manual Programming basics.

Notice: For security reasons, 1cs Online Payment System rejects all payment requests with formatting errors. Therefore, please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

KeyFormatCNDDescription
MerchantIDans..30MMerchantID, assigned by First Cash Solution. Additionally this parameter has to be passed in plain language too.
PayIDan32MID assigned by 1cs OPS for the payment, e.g. for referencing in batch files as well as for capture or credit request.
TransIDans..64MTransactionID provided by you which should be unique for each payment
Amountn..10MAmount in the smallest currency unit (e.g. EUR Cent). Please contact the 1cs Support, if you want to capture amounts <100 (smallest currency unit).
Currencya3MCurrency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table
refnrans..30OMerchant’s unique reference number
MACan64MHash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here:
HMAC Authentication (Request)
HMAC Authentication (Notify)
ReqIdans..32OTo avoid double payments or actions (e.g. by ETM), enter an alphanumeric value which identifies your transaction and may be assigned only once. If the transaction or action is submitted again with the same ReqID, 1cs Online Bezahlsystem will not carry out the payment or new action, but will just return the status of the original transaction or action.
Please note that the 1cs Online Bezahlsystem must have a finalized transaction status for the first initial action (authentication/authorisation). This does not apply to 3-D Secure authentications that are terminated by a timeout. The 3-D Secure Timeout status does not count as a completed status in which the ReqID functionality on 1cs Online Bezahlsystem does not take effect. Submissions with identical ReqID for an open status will be processed regularly.
Notice: Please note that a ReqID is only valid for 12 month, then it gets deleted at the 1cs Online Bezahlsystem.
ChDescans..16OText printed on the customer’s credit card bill alongside the payee
OrderDescans..127OUse this parameter for the simulation mode. During live mode this parameter has no effects.
AmazonpaySimulationCodeans..OA parameter used to simulate specific payment scenarios or behaviors during testing. For complete list of allowed simulation code, refer Amazonpay documentation.
Encrypted parameters for capturing an authorized Amazon Pay payment

The following table describes the result parameters with which the 1cs Online Payment System responds to your system

Notice: pls. be prepared to receive additional parameters at any time and do not check the order of parameters

Notice: the key (e.g. mid, RefNr) should not be checked case-sensitive

KeyFormatCNDDescription
midans..30MMerchantID, assigned by First Cash Solution
PayIDan32MID assigned by 1cs Online Bezahlsystem for the payment, e.g. for referencing in batch files as well as for capture or credit request.
XIDan32MID for all single transactions (authorisation, capture, credit note) for one payment assigned by 1cs Online Bezahlsystem
TransIDans..64MTransactionID provided by you which should be unique for each payment
refnrans..30OMerchant’s unique reference number
Statusa..50MOK (URLSuccess) or FAILED (URLFailure)
Descriptionans..1024MFurther details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis!
Codean8MError code according to 1cs Online Payment System Response Codes (A4 Error codes)
CodeExtans..10OError code from Amazon, if transferred
ErrorTextas..1024OError description from Amazon, if transferred
chargeidans..256MAmazon Pay Charge ID
AmazonStatusa..20MOrder status at Amazon. Following values are possible: „Opened“, „Completed, „Canceled“. Details see  Amazon API Reference Guide.
chargepermissionidans..256MAmazon Pay Permission ID
Amountn..10MAmount in the smallest currency unit (e.g. EUR Cent). Please contact the 1cs Support, if you want to capture amounts <100 (smallest currency unit).
Currencya3MCurrency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table
AmountAuthn..10MTotal amount which is reserved at Amazon
AmountCapn..10MTotal amount which is already successfully captured at Amazon
AmountCredn..10MTotal amount which is already successfully credited at Amazon
Response parameters after capturing an authorized Amazon Pay payment

After a capture you get a notify to your specified URLNotify with following parameters:

KeyFormatCNDDescription
midans..30MMerchantID, assigned by First Cash Solution
PayIDan32MID assigned by 1cs Online Bezahlsystem for the payment, e.g. for referencing in batch files as well as for capture or credit request.
XIDan32MID for all single transactions (authorisation, capture, credit note) for one payment assigned by 1cs Online Bezahlsystem
TransIDans..64MTransactionID provided by you which should be unique for each payment
refnrans..30OMerchant’s unique reference number
Statusa..50MOK (URLSuccess) or FAILED (URLFailure)
Descriptionans..1024MFurther details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis!
Codean8MError code according to 1cs Online Payment System Response Codes (A4 Error codes)
CodeExtans..10OError code from Amazon, if transferred
ErrorTextas..1024OError description from Amazon, if transferred
chargeidans..256MAmazon Pay Charge ID
AmazonStatusa..20MOrder status at Amazon. Following values are possible: „Opened“, „Completed, „Canceled“. Details see  Amazon API Reference Guide.
chargepermissionidans..256MAmazon Pay Permission ID
OrderIDans..19MUnique ID for the order issued by Amazon. Corresponds to the OrderReferenceID.
AmazonRefIDans..27MUnique ID for the transaction issued by Amazon
Amountn..10MAmount in the smallest currency unit (e.g. EUR Cent). Please contact the 1cs Support, if you want to capture amounts <100 (smallest currency unit).
Currencya3MCurrency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table
AmountAuthn..10MTotal amount which is reserved at Amazon
AmountCapn..10MTotal amount which is already successfully captured at Amazon
AmountCredn..10MTotal amount which is already successfully credited at Amazon
NotificationTypea..25MDescribes the type of notification. Fixed value: <CaptureNotification>
Response parameters to URLNotify after capturing an authorized Amazon Pay payment

Credit a payment

Prozessablauf Zahlung gutschreiben
Credit a payment sequence diagram

In order to credit a captured payment with Amazon Pay, please use the following URL:

https://www.computop-paygate.com/credit.aspx

The following tables describe the transfer parameters and return values which are exchanged via the socket connection. The server-to-server communication process is described in the manual Programming basics.

Notice: For security reasons, 1cs Online Payment System rejects all payment requests with formatting errors. Therefore, please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

KeyFormatCNDDescription
MerchantIDans..30MMerchantID, assigned by First Cash Solution. Additionally this parameter has to be passed in plain language too.
PayIDan32MID assigned by 1cs OPS for the payment, e.g. for referencing in batch files as well as for capture or credit request.
TransIDans..64MTransactionID provided by you which should be unique for each payment
Amountn..10MAmount in the smallest currency unit (e.g. EUR Cent). Please contact the 1cs Support, if you want to capture amounts <100 (smallest currency unit).
Currencya3MCurrency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table
refnrans..30OMerchant’s unique reference number
MACan64MHash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here:
HMAC Authentication (Request)
HMAC Authentication (Notify)
ReqIdans..32OTo avoid double payments or actions (e.g. by ETM), enter an alphanumeric value which identifies your transaction and may be assigned only once. If the transaction or action is submitted again with the same ReqID, 1cs OPS will not carry out the payment or new action, but will just return the status of the original transaction or action.
Please note that the 1cs OPS must have a finalized transaction status for the first initial action (authentication/authorisation). This does not apply to 3-D Secure authentications that are terminated by a timeout. The 3-D Secure Timeout status does not count as a completed status in which the ReqID functionality on 1cs OPS does not take effect. Submissions with identical ReqID for an open status will be processed regularly.
Notice: Please note that a ReqID is only valid for 12 month, then it gets deleted at the 1cs OPS.
OrderDescans..127ODescription of purchased goods, unit prices etc. for credit
AmazonpaySimulationCodeans..OA parameter used to simulate specific payment scenarios or behaviors during testing. For complete list of allowed simulation code, refer Amazonpay Dokumentation.
Encrypted parameters for crediting an Amazon Pay payment

The following table describes the result parameters with which the 1cs Online Payment System responds to your system

Notice: pls. be prepared to receive additional parameters at any time and do not check the order of parameters

Notice: the key (e.g. mid, RefNr) should not be checked case-sensitive

KeyFormatCNDDescription
midans..30MMerchantID, assigned by First Cash Solution
PayIDan32MID assigned by 1cs OPS for the payment, e.g. for referencing in batch files as well as for capture or credit request.
XIDan32MID for all single transactions (authorisation, capture, credit note) for one payment assigned by 1cs OPS
TransIDans..64MTransactionID provided by you which should be unique for each payment
refnrans..30OMerchant’s unique reference number
Statusa..50MOK (URLSuccess) or FAILED (URLFailure)
Descriptionans..1024MFurther details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis!
Codean8MError code according to 1cs OPS Response Codes (A4 Error codes)
CodeExtans..10OError code from Amazon, if transferred
ErrorTextas..1024OError description from Amazon, if transferred
AmazonStatusa..20MOrder status at Amazon. Following values are possible: „Opened“, „Completed, „Canceled“. Details see Amazon API Reference Guide.
chargeidans..256MAmazon Pay Charge ID
refundidans..256MAmazon Pay Refund ID
Amountn..10MAmount in the smallest currency unit (e.g. EUR Cent). Please contact the  1cs Support, if you want to capture amounts <100 (smallest currency unit).
Currencya3MCurrency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table
AmountAuthn..10MTotal amount which is reserved at Amazon
AmountCapn..10MTotal amount which is already successfully captured at Amazon
AmountCredn..10MTotal amount which is already successfully credited at Amazon
Response parameters after crediting an authorized Amazon Pay payment

After a credit you get a notify to your specified URLNotify with following parameters:

KeyFormatCNDDescription
midans..30MMerchantID, assigned by First Cash Solution
PayIDan32MID assigned by 1cs OPS for the payment, e.g. for referencing in batch files as well as for capture or credit request.quest.
XIDan32MID for all single transactions (authorisation, capture, credit note) for one payment assigned by 1cs OPS
TransIDans..64MTransactionID provided by you which should be unique for each payment
refnrans..30OMerchant’s unique reference number
Statusa..50MOK (URLSuccess) or FAILED (URLFailure)
Descriptionans..1024MFurther details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis!
Codean8MError code according to 1cs OPS Response Codes (A4 Error codes)
CodeExtans..10OError code from Amazon, if transferred
ErrorTextas..1024OError description from Amazon, if transferred
AmazonStatusa..20MOrder status at Amazon. Following values are possible: „Opened“, „Completed, „Canceled“. Details see Amazon API Reference Guide.
chargeidans..256MAmazon Pay Charge ID
refundidans..256MAmazon Pay Refund ID
Amountn..10MAmount in the smallest currency unit (e.g. EUR Cent). Please contact the  1cs Support, if you want to capture amounts <100 (smallest currency unit).
Currencya3MCurrency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table
AmountAuthn..10MTotal amount which is reserved at Amazo
AmountCapn..10MTotal amount which is already successfully captured at Amazon
AmountCredn..10MTotal amount which is already successfully credited at Amazon
NotificationTypea..25MDescribes the type of notification. Fixed value: <CreditNotification>
Response parameters to URLNotify after credit of an Amazon Pay payment

Reverse an order

Prozessablauf Bestellung stornieren
Reverse an order sequence diagram

In order to reverse a complete order with Amazon Pay with the function „CancelOrderReference“, please use the following URL:

https://www.computop-paygate.com/reverse.aspx

The following tables describe the transfer parameters and return values which are exchanged via the socket connection. The server-to-server communication process is described in the manual Programming basics.

Notice: For security reasons, 1cs Online Payment System rejects all payment requests with formatting errors. Therefore, please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

KeyFormatCNDDescription
MerchantIDans..30MMerchantID, assigned by First Cash Solution. Additionally this parameter has to be passed in plain language too..
PayIDan32MID assigned by 1cs OPS for the payment, e.g. for referencing in batch files as well as for capture or credit request.
MACan64MHash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here:
HMAC Authentication (Request)
HMAC Authentication (Notify)
Reasona..1024OReason for reversal
ReqIdans..32OTo avoid double payments or actions (e.g. by ETM), enter an alphanumeric value which identifies your transaction and may be assigned only once. If the transaction or action is submitted again with the same ReqID, 1cs OPS will not carry out the payment or new action, but will just return the status of the original transaction or action.
Please note that the 1cs OPS must have a finalized transaction status for the first initial action (authentication/authorisation). This does not apply to 3-D Secure authentications that are terminated by a timeout. The 3-D Secure Timeout status does not count as a completed status in which the ReqID functionality on 1cs OPS does not take effect. Submissions with identical ReqID for an open status will be processed regularly.
Notice: Please note that a ReqID is only valid for 12 month, then it gets deleted at the 1cs OPS.
Encrypted parameters for reversal of an Amazon Pay payment

The following table describes the result parameters with which the 1cs Online Payment System responds to your system

Notice: pls. be prepared to receive additional parameters at any time and do not check the order of parameters

Notice: the key (e.g. mid, RefNr) should not be checked case-sensitive

KeyFormatCNDDescription
midans..30MMerchantID, assigned by First Cash Solution
PayIDan32MID assigned by 1cs OPS for the payment, e.g. for referencing in batch files as well as for capture or credit request.
XIDan32MID for all single transactions (authorisation, capture, credit note) for one payment assigned by 1cs OPS
TransIDans..64MTransactionID provided by you which should be unique for each payment
refnrans..30OMerchant’s unique reference number
Statusa..50MOK (URLSuccess) or FAILED (URLFailure)
Descriptionans..1024MFurther details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis!
Codean8MError code according to Paygate Response Codes (A4 Error codes)
CodeExtans..10OError code from Amazon, if transferred
ErrorTextas..1024OError description from Amazon, if it was transferred
AmazonStatusa..20MOrder status at Amazon. Following values are possible: „Opened“, „Completed, „Canceled“. Details see Amazon API Reference Guide.
chargeidans..256MAmazon Pay Charge ID
chargepermissionidans..256MAmazon Pay Permission ID
Amountn..10MAmount in the smallest currency unit (e.g. EUR Cent). Please contact the 1cs Support, if you want to capture amounts <100 (smallest currency unit).
Currencya3MCurrency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table
AmountAuthn..10MTotal amount which is reserved at Amazon
AmountCapn..10MTotal amount which is already successfully captured at Amazon
AmountCredn..10MTotal amount which is already successfully credited at Amazon
Response parameters after reversing an Amazon Pay payment

Setup recurring payments

In order to set up a recurring payment with Amazon Pay, submit the below data in addition to the standard request described in Step 6 above.

Initial Payment

KeyFormatCNDDescription
RTFans1MI = Initial payment in the series
cyclean..7MCycle. Supported values: ‚Year‘, ‚Month‘, ‚Week‘, ‚Day‘, ‚Variable‘
Valuen..4MNumber of frequency units per billing cycle. For example, to specify a weekly cycle set unit to Week and value to 1. You must set value to 0 if you’re using variable unit.
Year: 1-3
Month: 1-36
Week: 1-57
Day: 1-1095
InstallmentAmountn..10CTransaction amount – choose zero if is not a fixed amount
Currencya3CTransaction currency code in ISO 4217 format, for example: EUR
Parameter initial payment

Recurring Payment

KeyFormatCNDDescription
RTFans1MR = Recurring
Amountn..10MAktualisierter Betrag iUpdated Amount in the smallest currency unit (e.g. EUR Cent). Please contact the 1cs Support, if you want to capture amounts <100 (smallest currency unit).
Currencya3MCurrency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table
CountryCodean2MCountry code of used marketplace. Options EU, US and JP.
ChargepermissionIdans..256MCharge Permission ID that you received in the response to the initial payment in the series
Parameter recurring payments