Testing CoP integration
In the UAT environment, you can simulate different CoP responses by using specific substring keywords in the accountName field and any valid bsb and accountNo values.
The pattern matching on the accountName field is substring-based and case-insensitive, e.g. using "Test Copimatch", "John copimatch Smith", or "COPIMATCH" will all trigger the same scenario.
Here is a current list of the testing keywords and the most common response codes. Please note this list can be changed over time.
copimatch
MATCH
Individual
copijmatch
MATCH
Individual (joint account)
copcmatch
MATCH
Company
copiclosematch
CLOSE_MATCH
Individual
copijclosematch
CLOSE_MATCH
Individual (joint account)
copcclosematch
CLOSE_MATCH
Company
copinotmatch
NOT_MATCH
Individual
copcnotmatch
NOT_MATCH
Company
copclosed
ACCOUNT_CLOSED
-
copnotfound
ACCOUNT_NOT_FOUND
-
coperror
COP_PLATFORM_ERROR
-
You can start with testing CoP requests in the API Playground. Log in with your UAT credentials and use the confirmationOfPayee mutation.
Integration Examples
CoP as a standalone investigation tool
CoP can be used independently from your payment flows as an account investigation tool. For example, you may want to verify account holder details during onboarding, reconciliation, or dispute resolution, without initiating a payment. A typical investigation flow looks like this:
Collect the account details you wish to verify: BSB, account number, and the expected account holder name.
Call
confirmationOfPayeewith those details.Inspect the
codein the response.If
MATCHthen the account holder name is confirmed. Record the result for your records.If
CLOSE_MATCHthen the name partially matches. Review themessagefor details and decide whether further investigation is needed.If
NOT_MATCHthen the name does not match the account. This may warrant further due diligence.If
ACCOUNT_CLOSEDorACCOUNT_NOT_FOUNDthen the account is no longer active or does not exist. Flag accordingly.If
COP_PLATFORM_ERRORthen the check could not be completed. The account may have opted out of CoP. Retry later or use alternative verification methods.
Each CoP request is logged and available in your FlashConnect request history, making it easy to maintain an audit trail of your verification checks.
CoP as a part of your payment integration flow
While CoP is fully functional on our platform, and the adoption among Australian financial institutions is growing, the Australian CoP coverage is currently limited.
This means a significant portion of accounts may return ACCOUNT_NOT_FOUND or COP_PLATFORM_ERROR not because the details are wrong, but because the receiving institution does not yet fully participate in CoP.
Additionally, financial institutions store account holder names in varying formats (e.g., abbreviated names, reordered words, special characters). The current matching algorithm used by the Australian Payments Plus (AP+) relies on basic string similarity, which can produce false-negative NOT_MATCH results for accounts that are, in fact, correct.
For this reason, we currently recommend using CoP as a standalone verification tool rather than as a blocking step in your payment flow.
A typical future integration flow could look like this:
Before submitting a payment or withdrawal, call
confirmationOfPayeewith the recipient's account details.Inspect the
codein the response.If
MATCHthen proceed with the payment.If
CLOSE_MATCHthen display a warning to your user and let them decide whether to proceed.If
NOT_MATCHthen alert the user and recommend they verify the account details.If
ACCOUNT_CLOSEDorACCOUNT_NOT_FOUNDthen block the payment and ask the user to provide correct details.If
COP_PLATFORM_ERRORthen optionally proceed, as the account may have opted out of CoP.
CoP is advisory. The response does not block payments automatically. It is your responsibility to act on the result codes appropriately for your use case.
Error Handling
If your account does not have CoP enabled, the API will return:
Standard rate limiting applies to CoP requests. Additionally, CoP has its own usage limits. If you exceed them, you will receive the COP_LIMIT_EXCEEDED code.
When the response code is COP_PLATFORM_ERROR, it may indicate that the account holder has opted out of CoP verification. The general recommendation is to proceed with the payment.
Last updated
Was this helpful?