Amazon Payment Services
Quick Start
- Sign up at paymentservices.amazon.com and obtain API credentials
- Create a terminal in the Admin Console with the parameters below
- Start processing — the adapter is pre-built and ready to use
Overview
Amazon Payment Services (ex-PayFort) — leading payment processor region MENA. Acquired Amazon in 2017 year. Headquarters-apartment in Dubai. Supports local methods (mada, KNET, Meeza, NAPS) and installments (VALÚ, Shahry, Tabby).
| Provider ID | amazon_ps |
| Category | Card Processors |
| Website | paymentservices.amazon.com |
Supported operations: start_tx capture_tx refund_tx status
Authentication
SHA-256/SHA-512 signature: SHA(sha_request_phrase + sorted_params + sha_request_phrase)
Parameters merchant_identifier + access_code transmitted in body request.
Configuration
Required Parameters
| Parameter | Description |
|---|---|
merchant_identifier | APS Merchant Identifier |
access_code | APS Access Code |
sha_request_phrase | SHA Request Passphrase (request signing) |
sha_response_phrase | SHA Response Passphrase (response verification) |
sha_type | SHA algorithm: SHA-256 (default) / SHA-512 |
environment | sandbox / production |
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
14000 | charged | Success |
20064 | charged | Approved |
02000 | authorized | Authorization success |
20000 | charged | Transaction success |
00006 | pending | Pending |
19000 | pending | Transaction pending |
PURCHASE_SUCCESS | charged | |
AUTHORIZATION_SUCCESS | authorized | |
CAPTURE_SUCCESS | charged | |
REFUND_SUCCESS | refunded | |
PURCHASE_FAILURE | failed | |
AUTHORIZATION_FAILURE | failed | |
VOID_SUCCESS | failed | |
3DS_ENROLL | pending |