How to enable CenPOS Credit Card on a merchant.
CenPOS is a payment gateway supporting credit card authorization, capture, load, and refund through the CenPOS REST transaction API.
Features
✅ Refund A creditcard payment processed with CenPOS can be / according to its status.
✅ Payment Authorization Payments can be authorized by customers using Credit Card.
✅ Payment Capture Payment authorizations made using Credit Card payment methods can be captured. This step happens automatically with CHARGE transactions.
Resources
Configuration
Obtain API credentials (username and password) and your merchant ID from CenPOS. Use the staging host (abistaging.cenpos.net) for testing and production host for live traffic.
This table describes the required or possible attributes needed to configure a merchant product for this type.
| Name | Type | Description | Rules |
|---|---|---|---|
| host | string | (required) The CenPOS API host. Use the staging host for testing. Examples: abistaging.cenpos.net, abi.cenpos.net. | |
| merchantId | string | (required) CenPOS merchant identifier used in the transaction API path. Examples: 790010220. | |
| basicAuth | object | (required) Username and password for Basic authentication. Examples: [object Object]. |
Enabling this Product
Using create-merchant-product API you can add a new product to your merchant record. Below is an example configuration for the payload of that request.
{
"line": "payments",
"product": "creditcard",
"provider": "cenpos",
"config": {
"host": "abi.cenpos.net",
"merchantId": "790010220",
"basicAuth": {
"username": "integration",
"password": "your_password_here"
}
},
}Data Mapping
The following bullet points outline the mapping of data fields between the Authvia platform and the CenPOS system, detailing the correspondence of specific attributes for seamless data integration.
- Authvia
transaction.references.externalmaps to CenPOSInvoice.InvoiceNumber - Authvia
transaction.idmaps to CenPOSInvoice.InvoiceNumber - Authvia
transaction.amountmaps to CenPOSInvoice.Amount - Authvia
transaction.currencymaps to CenPOSInvoice.CurrencyCode - Authvia
transaction.paymentMethod.cardNumbermaps to CenPOSCard.CardNumber - Authvia
transaction.paymentMethod.expirationMonthmaps to CenPOSCard.CardExpirationDate - Authvia
transaction.paymentMethod.cvvmaps to CenPOSCard.Prompts[CVV].Value - Authvia
transaction.paymentMethod.streetAddressmaps to CenPOSCustomer.Address.StreetAddress - Authvia
transaction.paymentMethod.emailmaps to CenPOSCustomer.EmailAddress - Authvia
transaction.stepResults.AUTHORIZE.idmaps to CenPOSOriginalReferenceNumber - Authvia
transaction.references.gatewaymaps to CenPOSOriginalReferenceNumber - Authvia
transaction.references.gatewaymaps to CenPOSGET /transactions/{referenceNumber}
