Afterpay Singapore
Quick Start
- Sign up at afterpay.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
Afterpay (Block/Square) — global BNPL brand with model Pay-in-4. 4 payment every 2 weeks (6 weeks total). REST API + SDKs. Support SGD, USD, AUD and others currencies. Limited, but growing presence in Singapore.
| Provider ID | afterpay_sg |
| Category | Buy Now, Pay Later |
| Website | afterpay.com |
Supported operations: start_tx refund_tx status
Authentication
HMAC request signing using merchant_id and secret_key.
Configuration
Required Parameters
| Parameter | Description |
|---|---|
merchant_id | Afterpay Merchant ID |
secret_key | Afterpay Secret Key for HMAC signing |
base_url | API base URL |
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
APPROVED | charged | |
CAPTURED | charged | |
REFUNDED | refunded | |
DECLINED | rejected | |
CANCELLED | rejected | |
EXPIRED | rejected | |
PENDING | charging |