Skip to content
DLT Payment
Sign in
Merchant integrations/Collection APIs Public documentation

Collection payment options

For Developers of merchant-owned server integrations

Configured API origin: https://checkout.dxp.dtic.com.ph

Build with the right credentials. API access requires the documented authentication and permissions. Examples use synthetic data and placeholder origins.

Version: 1.0 · Updated: 2026-10-13

1. Collection integration flow

This public reference covers the APN Collection APIs for servers owned by DLT-registered businesses. Public documentation does not make authenticated payment APIs anonymous. Obtain your merchant account ID, Collection service code and enabled payment capabilities from DLT, then follow server authentication.

Use the API origin shown by this guide for your deployment. Hosts, identifiers, brands, images, messages and timestamps in the examples are synthetic. Replace <collection_service_code> with the issued code and <returned_brand_code> with the selected option's exact code. Available brands vary by merchant/provider configuration; example brands do not promise availability.

Step Method and path Authentication Reference
Discover payment options GET /api/v1/collection/apn/brands No bearer token required This page
Submit hosted Checkout POST /api/v1/collection/apn/submit Merchant machine bearer token Checkout
Submit an enabled Direct Payment POST /api/v1/collection/apn/direct Merchant machine bearer token Direct
Read a saved transaction GET /api/v1/collection/transaction Merchant machine bearer token Status
Reconcile provider status POST /api/v1/collection/apn/sync Merchant machine bearer token Recovery

Fetch options, retain the selected value and opaque code, submit a unique merchant transaction reference, and send the payor to the returned payment_url when present. Read the saved status or synchronize when needed. A successful HTTP submission or a browser return is not proof of payment; use the verified transaction status.

Collection provider configuration is selected by the deployment. There is no request-level test/live selector. Payment and transaction-read requests reject non-empty environment, env and is_production inputs; payment submission also prohibits transaction_type. Do not send these fields. Historical account IDs remain valid; never derive deployment mode from an ID prefix.

2. Request: GET /api/v1/collection/apn/brands

This public discovery route is throttled at 30 requests per minute. It checks the merchant, assigned service and APN payment-options capability. Use it for Collection options; /payment/get-brands is a separate legacy bank lookup and is not this contract.

GET /api/v1/collection/apn/brands?merchant_account_id=TEST-12345678&service_code=<collection_service_code>
Accept: application/json

There is no request body. URL-encode query values when constructing the URL.

Field Location Requirement Validation rules
merchant_account_id Query Required Existing merchants.reference_id, not the numeric database ID.
service_code Query Required String, maximum 50 characters; must exist in provider services. Use the assigned APN Collection code.
Accept Header Send application/json for JSON errors.

Missing/null/empty required fields fail validation. Unrecognized query fields are ignored by this controller's validated payload, not a supported configuration mechanism. Service eligibility and at least one of hosted Checkout or Direct Payment must be enabled separately from field validation.

2.1 HTTP 200: available options

{
  "success": true,
  "message": "Successful",
  "data": [
    {"value": "VISA", "code": "<returned_card_brand_code>", "image": "https://assets.example.test/visa.png", "is_card": true},
    {"value": "GCASH", "code": "<returned_wallet_brand_code>", "image": "https://assets.example.test/gcash.png", "is_card": false}
  ]
}

Option fields originate from the provider; DLT adds is_card. Forward value as payment_brand and code as payment_brand_code. The code can be a signed opaque token: do not decode, modify or substitute a brand label for it. is_card: true describes the option, not permission to use Direct Payment. Hosted Checkout also accepts card options without raw card data.

2.2 HTTP 200: no options

{"success": true, "message": "Successful", "data": []}

Present an unavailable-options state rather than submitting a guessed brand.

2.3 HTTP 422: invalid query

{
  "success": false,
  "message": "Validation error",
  "errors": {"service_code": ["The service code field is required."]}
}

2.4 HTTP 403: payment options disabled

{
  "success": false,
  "code": "APN_PAYMENT_OPTIONS_NOT_ENABLED",
  "message": "APN payment options are not enabled for this merchant."
}

This capability failure uses code, not error_code. Missing APN configuration instead uses APN_INTEGRATION_NOT_CONFIGURED. Other merchant/service failures can return a success:false message without either code field. Provider fetch failures return an error, not an empty successful list. Respect 429 throttling and any Retry-After header.