Sandbox Testing & Simulations

A guide to our Sandbox environment for simulating certain CoP lookup errors and behaviour.

Simulation Attribute Sample

Use the following attribute to simulate various CoP lookup outcomes in Zepto's Sandbox environment.

 {
  "sandbox": {
    "simulate": "match"
  }
}

CoP Lookup Outcome Simulations

Type

Response

Error Code

Description

match

200

n/a

Simulates a successful CoP lookup with a match result.

close_match

200

n/a

Simulates a successful CoP lookup with a close match result.

individual_no_match

200

n/a

Simulates a successful CoP lookup with a no match result for an individual account.

non_individual_no_match

200

n/a

Simulates a successful CoP lookup with a no match result for an non-individual account (eg. Business account).

Notable field: match_name is provided

account_closed

200

n/a

Simulates a successful CoP lookup where a match result could not be provided due to the account being closed.

no_account_found

404

ZCOPR02

Simulates a failed CoP lookup where a match result could not be provided due to there being no record of the account.

account_opted_out

422

ZCOPR00

Simulates a failed CoP lookup where a match result could not be provided due to the account holder having opted out of the CoP service.

unexpected_response

422

ZCOPR00

Simulates generic unexpected error response.

bic_lookup_failed

422

ZCOPR01

Simulates a failed CoP lookup where a match result could not be provided due to there being an issue with validating the branch code for the given BBAN.

account_daily_limit_exceeded

422

ZCOPR04

Simulates hitting the account level enumeration control limit.

requester_daily_limit_exceeded

422

ZCOPR05

Simulates hitting the requester ID level enumeration control limit.



What’s Next

Ready to get started? Reach out to your Zepto Account Manager and we'll configure your Sandbox account and provide suggested test cases.