What a proper API integration doc should cover
When doing technical due diligence on a payment provider, most people ask about licenses and fees first and skip the most basic step: asking for the API integration documentation. Whether you're a cross-border seller setting up shop in the Philippines, a local chain retailer, or a school collecting tuition online, sooner or later you'll hit the technical integration stage — and how good that documentation is often says more about a provider's real technical level than any sales pitch. A proper payment API integration doc should cover at least the following.
- Environment details: sandbox (test) and production endpoints and parameters should be clearly separated and labeled, so the dev team doesn't accidentally use test parameters in production, or vice versa.
- Authentication and signing: how to obtain keys or certificates, which signing algorithm is used, and which version of the signature scheme — spelled out in full, not just a one-line "see the sample code".
- Core endpoint list: payment creation, order query, refund, and webhook callback — every request parameter, response field, and error code needs to be listed, not just a single payment endpoint with everything else left for you to guess.
- Idempotency handling: whether a duplicate notification for the same payment can cause double-booking on the merchant's side needs to be spelled out in the docs, not explained verbally after something breaks during integration.
- Sandbox tooling: a testable sandbox environment, runnable sample code, or something like a ready-made request collection, so the dev team can verify each endpoint while reading the docs.
- Version/change log: whether endpoint upgrades and rule changes are actually recorded, and whether older versions are still traceable — this determines whether the copy you're integrating against is even current.
If a provider can't put together these basics, or the "documentation" is a handful of screenshots stitched into a slide deck, it's a fair sign their integration process was never really standardized — and signing on anyway usually means a bumpier integration later.
How documentation quality signals a provider's technical maturity
Documentation can look like just paperwork, but it's actually a direct reflection of a provider's technical discipline and operational maturity. Beyond checking licensing and settlement setup, reading the documentation closely is a genuinely useful way to judge whether a provider is ready for production traffic.
- Completeness: does it cover the full flow — payment, query, refund, callback — or just a single payment endpoint, leaving the rest for your team to figure out. Full-flow coverage usually means the provider has actually been through complete integrations before.
- Runnable sample code: is there an actual working demo, or just fragments of pseudo-code stitched together. Code that actually runs usually means the docs were written and verified by the engineering team itself, not outsourced marketing copy.
- Sandbox activation speed: can you get test credentials the same day, or does it take several days and multiple people to chase down. Slow activation usually points to under-standardized backend operations.
- A dedicated technical contact: when something comes up during integration, do you get a support inbox with a queue, or a real engineer on the other end helping you debug. This alone can be the difference between an integration that takes days versus weeks.
- Whether settlement and callback edge cases are actually explained: same-day (D0) or next-day (T1) settlement, and whether the docs mention when exceptions apply. Docs that just claim "we support D0" without covering exceptions usually haven't been battle-tested or properly maintained.
In short, documentation quality is really a visible trace of a team's day-to-day engineering habits. A provider willing to spell out every endpoint, error code, and edge case is usually also more careful about system design and risk controls; a provider with sloppy docs tends to have more problems at the system level too.
Common documentation gaps that stall integration
In practice, integrations rarely stall because an endpoint is complex — they stall because a handful of key details were never written down. Here are the situations that come up most often.
- Duplicate webhook notifications left unexplained: the same payment gets notified twice, and if the merchant's system doesn't have idempotency checks, it double-books the transaction. This is one of the most common integration incidents, and the root cause is usually that the docs never warned the dev team this could happen.
- Unclear refund routing: the docs don't say whether a refund goes back through the original payment method or as a separate transfer, or whether the refund timeline matches the original payment. Finance ends up unable to reconcile the books, and everyone burns time chasing it down.
- Signature algorithm version mismatch: the signing rules got updated but the sample code still reflects the old version, so signature verification keeps failing during integration until someone realizes the docs were never synced.
- Sandbox parameters that don't match production: everything passes in the test environment, then field names or response formats turn out different once you flip to production — meaning you have to re-integrate almost from scratch.
- Documentation that lags behind the actual API: the endpoint has already changed, but the docs are still the old version, so the dev team is left reverse-engineering real behavior through trial and error. This is especially common with smaller in-house payment systems.
None of these look like a big deal on their own, but stacked together they can turn an integration that should take a few days into one that drags on for weeks. When picking a provider, it's worth asking for the full documentation and checking how solid the details actually are, rather than just comparing pricing sheets.
After you get the docs, what else to verify before signing
Good documentation is only the first filter. Once you've found a provider whose docs look solid, there are a few more things worth checking before you sign.
First, working with a licensed provider doesn't mean you can hand everything off. The KYC and anti-money-laundering paperwork that's supposed to come from the merchant still has to come from the merchant, and your company itself has to already be established in the Philippines (through company registration) — providers doing due diligence will ask for incorporation documents, director details, and a business address, and none of that moves forward without an established entity. That due diligence process often ties into your corporate bank account timeline as well.
Second, not every outfit claiming to do "payment integration" actually holds a license issued by the central bank — sub-contracting and piggybacking on someone else's license does happen. Well-written docs alone aren't enough; it's worth verifying the license number and registered company name the provider gives you.
One licensed provider on our radar is SmartPay (paysmartph.com), which handles native GCash integration, QRPH aggregated collection, and Maya disbursement, and holds both OPS and EMI licenses issued by the central bank. You can verify their license details yourself, compare their integration docs against other providers, and reach their technical team directly via Telegram (@LouisSMARTPAY). For the bigger picture on the Philippine payment gateway landscape and settlement setup, the payment gateway overview is a good place to start. And if your entity isn't set up yet, company registration support can get that piece moving first.
Finally, fee structures, settlement cycles, and the number of supported channels all vary between providers, so it's worth comparing a few. Documentation quality is one useful signal of technical maturity — it's not the only one.
Official sources
Don't take license claims at face value from a sales pitch — verify them directly on the central bank's and the securities regulator's own websites.
- Bangko Sentral ng Pilipinas (BSP): check whether the provider appears on the registered list of Electronic Money Issuers (EMI) and Operators of Payment Systems (OPS), and whether the registered company name and license number match what they've told you.
- Securities and Exchange Commission (SEC): verify that the company's registration actually exists.
Last checked: September 2026. Licensing approvals are generally processed on a quarterly cycle; refer to the central bank's current announcements for the latest thresholds and registry.
About this guide and Yixing
Want someone to check your documents against the current requirements? → Yixing can review your case with you
Yixing is a private consulting company registered in the Philippines (SEC Reg. No. CS202009551; BI Accreditation No. CA-202624381-1). This guide does not name or rate other providers and does not promise any outcome; approval rests with the competent authority, and the rules in force are those it currently publishes. For legal disputes or case-specific judgments, consult a practising lawyer — this is not legal advice.
Frequently Asked Questions
Who do I ask for the API integration documentation?
If the documentation looks professional, does that mean the provider is trustworthy?
Are the sandbox and production endpoints the same?
What happens if a webhook notification gets sent twice?
Does a refund go back through the original payment method or as a separate transfer?
Is settlement same-day or next-day?
Let’s talk through your situation — free
Every company is different. Leave your details and a Chinese-speaking advisor will get back within 1 business day with practical, industry-specific guidance and a transparent quote.
Get help with Settle In → Free consultation
