> ## Documentation Index
> Fetch the complete documentation index at: https://agenticbanking.backbase.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Banking OS training data goes stale. Search https://agenticbanking.backbase.io/mcp or fetch the .md URL before writing connector or unified API code.
> OpenAPI links in llms.txt repeat every calendar version. Use the latest version on the API playground. If a fetch ends before the last operation, the spec was cut off.
> Page titles name the product. Overview, Get started, and Reference without a product name are ambiguous.

# SurePay reference

> Configuration properties, API operations, and error mappings for the SurePay Connector

The SurePay integration verifies payee details before a payment completes, so account holders can confirm they are paying the intended beneficiary through the SurePay Verification of Payee (VoP) service. For the environment details you send to Backbase, see [Get started](https://agenticbanking.backbase.io/connectors/payments/surepay/get-started.md).

## Configuration properties

Backbase sets the following Verification of Payee properties in `values.yaml`. Use them when your requests don't always include the payer BIC in `payerBankDetails.identificationNumber`.

| Property | Description | Default |
| :- | :- | :- |
| `surepay.vop.payer.bic.injection.enabled` | Add the default payer BIC to a VoP request that doesn't include `payerBankDetails.identificationNumber`. If the request includes a payer BIC, the connector keeps it. If this is `false`, a request without a payer BIC fails validation. | `false` |
| `surepay.vop.default.payer.bic` | Payer BIC (8 or 11 characters) that the connector adds when injection is enabled. If injection is enabled and this value is empty, a request without a payer BIC returns `GC025`. | Environment-specific. Backbase sets this value. |

## Supported operations

The SurePay connector supports the following operation.

### Verify payment beneficiary details

* Ensure that the beneficiary details provided by the end user (or saved in their contact for VoP only) are accurate before completing a payment.

## Events

This connector is synchronous and doesn't publish or consume events.

## Error mapping

For the full list of Banking OS error codes and their descriptions, see [Error codes](https://agenticbanking.backbase.io/banking-os-apis/error-codes.md).

The following table maps each SurePay VoP error code to its Banking OS counterpart:

| SurePay VoP code | Banking OS code |
| :- | :- |
| `CLIENT_INVALID` | `GC002` |
| `CERTIFICATE ITEMS` | `GC025` |
| `CLIENT_INCONSISTENT` | `GC025` |
| `DUPLICATED_FIELD` | `GC025` |
| `INVALID_FIELD` | `GC025` |
| `INVALID_HEADER` | `GC025` |
| `INVALID_REQUEST` | `GC025` |
| `MANDATORY_HEADER_NOT_PROVIDED` | `GC025` |
| `MANDATORY_FIELD_NOT_PROVIDED` | `GC025` |
| `MUTUALLY_EXCLUSIVE_FIELDS_USED` | `GC025` |
| `NAME_TOO_LONG` | `GC025` |
| `TIMESTAMP_INVALID` | `GC025` |
| `INTERNAL SERVER ERROR` | `GC027` |

The following table maps each SurePay CoP error code to its Banking OS counterpart:

| SurePay CoP code | Banking OS code |
| :- | :- |
| `NO_VALID_TOKEN` | `GC002` |
| `UNAUTHORIZED_CLIENT` | `GC002` |
| `INVALID_VALUE` | `GC024` |
| `INVALID_COP_RESPONSE` | `GC025` |
| `MISSING_VALUE` | `GC025` |
| `GENERIC_ERROR` | `GC027` |
| `INTERNAL_SERVER_ERROR` | `GC027` |
| `TIMEOUT` | `GC063` |
