Payment Enums

API Environment
API Response Code
Installment Interest Type Code
Payment Channel Code
Payment Input Code
Payment Notification Platform Code
QR Type Code
Payment Custom Data Code

 

API Environment


Enum AmountValidation

Parameter

Data Type

Description

Production

String

Production API environment endpoint.

For global exclude Indonesia.

ProductionIndonesia

String

Indonesia production API environment endpoint.

Only for Indonesia.

Sandbox

String

Sandbox API environment endpoint.

For testing.

 

API Response Code


Enum APIResponseCode

Parameter

Data Type

Description

APISuccess

String

General API success.

TransactionAuthenticateRedirect

String

Load redirect URL with IFrame / Webview.

Client should close the iframe when the URL is loading RESULT URL and read the BODY message.

TransactionAuthenticateFullRedirect

String

Do full redirect to 3rd party web page.

TransactionExternalBrowser

String

Load redirect URL with multiple tab in external web browser or Load redirect Scheme URL to open 3rd party application that do not do call back.

Mobile: on app RESUME, call get Transaction status API.

WEB: need to do a looping query or long post to get transaction status.

Refer: PGW SDK API Interface of Transaction status method.

TransactionPaymentSlip

String

Get Alternative Payment Method (123) payslip information and set transaction status PENDING.

Get payslip info, and display payslip.

TransactionExternalApplication

String

Redirect to external app with app scheme, and back with app call back.

Mobile: receive call back from 3rd party application.

Web: N/A

TransactionQRPayment

String

Display generated QR information for scan.

After display QR, do a looping query or long post to get transaction status.

TransactionCompleted

String

Transaction completed, perform payment inquiry to get payment status and full response.

Get payment result, and display result to customer.

TransactionInProgress

String

Transaction in progress.

Recursive transaction status inquiry API until getting payment result.

Refer: PGW SDK API Interface of Transaction status method.

TransactionNotFound

String

Transaction not found.

Display result to customer.

TransactionInquiryFailed

String

Transaction failed to inquiry.

Display result to customer.

 

Installment Interest Type Code


Enum InstallmentInterestTypeCode

Parameter

Data Type

Description

Customer

String

Customer interest type.

Merchant

String

Merchant interest type.

 

Payment Channel Code


Enum PaymentChannelCode

Parameter

Data Type

Description

Category

GlobalCardPayment

String

Global card payment category.

LocalCardPayment

String

Local card payment category.

LocalCardInstallmentPaymentPlan

String

Local card installment payment plan category.

DigitalPayment

String

Digital payment category.

QRPayment

String

QR payment category.

WebPayment

String

Web payment category.

SelfServiceMachine

String

Self service machine payment category.

PayAtCounter

String

Pay at counter payment category.

InternetBanking

String

Internet banking payment category.

GlobalBuyNowPayLater

String

Global buy now pay later category.

Group

CreditCard

String

Credit card payment group.

ProprietaryCard

String

Proprietary card payment group.

GlobalInstallmentPaymentPlan

String

Global installment payment plan payment group.

LocalInstallmentPaymentPlan

String

Local installment payment plan payment group.

GlobalThirdPartyPayment

String

Global third party payment group.

LocalThirdPartyPayment

String

Local third party payment group.

EWalletPayment

String

E-Wallet payment group.

MasterPass

String

Master Pass payment group.

QRCodePayment

String

QR code payment group.

CardSchemeQRPayment

String

Card scheme QR payment group.

ThaiQRPayment

String

Thai QR payment group.

SingaporeQRPayment

String

Singapore QR payment group.

WebPayment

String

Web payment group.

AutomatedTellerMachine

String

Automated teller machine payment group.

Kiosk

String

KIOSK payment group.

BankCounter

String

Bank counter payment group.

OverTheCounter

String

Over the counter payment group.

InternetBanking

String

Internet banking payment group.

BuyNowPayLater

String

Buy now pay later group.

 

Payment Input Code


Enum PaymentInputCode

Parameter

Data Type

Description

Mandatory

String

Mandatory for payment input.

Ignore

String

Ignore for payment input.

Optional

String

Optional for payment input.

 

Payment Notification Platform Code


Enum PaymentNotificationPlatformCode

Parameter

Data Type

Description

Facebook

String

Payment notification to Facebook platform.

WhatsApp

String

Payment notification to WhatsApp platform.

WeChat

String

Payment notification to WeChat platform.

Line

String

Payment notification to LINE platform.

Email

String

Payment notification to email platform.

 

QR Type Code


Enum QRTypeCode

Parameter

Data Type

Description

Raw

String

QR raw data.

Base64

String

QR base64 data.

URL

String

QR Url data.

 

Payment Custom Data Code


Enum PaymentCustomDataCode

Parameter

Data Type

Description

Text

String

Custom text data.

Text for display.

ImageUrl

String

Custom image url data.

Image for display.

WebUrl

String

Custom web url data.

Hyperlink for redirect.

FileUrl

String

Custom file url data.

File for download.