---
updatedAt: 2026-03-02T15:55:13.000Z
agentTools:
  projectIndex: https://docs.br-dge.io/llms.txt
---

# Testing Simulator PSPs

You can test your integration with BR-DGE with our simulator Payment Service Providers (PSPs).

Our simulator PSPs (BRIDGE1 & BRIDGE2) allow you to test various functionalities, including:

* [Card Payments] (no 3DS).
* Smart Routing: Configure routing rules within the [BR-DGE Portal].
* Generate orders using our [Hosted Payment Page].

The BR-DGE simulator PSPs are designed to return specific responses from our REST API based on the ***BR-DGE Response Code*** value included in the payment request. The value should be set in the `paymentInstrument.nameOnCard` field of your payment request.

Please see the `Payment with Card Payment Instrument` example in [POST /v1/payments].

Below are a few examples on how to get started with the testing. For the full list of BR-DGE response codes please refer to our [Response Codes] page.

### Successful Card Payment With BRIDGE1 as Primary PSP

Payment Request Body:

```
{
  "paymentInstrument": {
    "type": "card",
    "nameOnCard": "1000",
    "pan": "4242424242424242",
    "expiryDate": "01-30",
    "cv2": "123"
  },
  "orderDescription": "BR-DGE Testing - Approved",
  "customerOrderCode": "1234",
  "currencyCode": "GBP",
  "amount": 1500
}
```

Payment Response Body:

```
{
  "code": "1000",
  "message": "Approved",
  "id": "6837127ee0fd0ba64002f96dfc05e21b",
  "paymentId": "6f7fab9c-8386-47d3-916c-07a9df833fdb",
  "actionRequired": false,
  "psp": {
    "name": "bridge1",
    "transactionId": "27cb00fd-2939-4e0d-9856-061c6bfa3597"
  },
  "pspId": "BRIDGE1",
  "customerOrderCode": "1234"
}
```

### Successful Card Payment Failover With BRIDGE2 as Secondary PSP

Payment Request Body:

```
{
  "paymentInstrument": {
    "type": "card",
    "nameOnCard": "4249 1000",
    "pan": "4242424242424242",
    "expiryDate": "01-30",
    "cv2": "123"
  },
  "orderDescription": "BR-DGE Testing - Failover",
  "customerOrderCode": "1234",
  "currencyCode": "GBP",
  "amount": 1500
}
```

Payment Response Body:

```
{
  "code": "1000",
  "message": "Approved",
  "id": "6837126a7010fd47e120a45b977735bd",
  "paymentId": "51a39863-79fa-4ae7-9bb5-ffa48d82400a",
  "actionRequired": false,
  "psp": {
    "name": "bridge2",
    "transactionId": "f5a23aaa-d34f-4da6-a306-0af4d82a69c7"
  },
  "pspId": "BRIDGE2",
  "customerOrderCode": "1234"
}
```

> 📘
> The fail over from BRIDGE1 to BRIDGE2 happened because the Response code 4249 was passed on along with the Approved 1000 Response code.

### Successful Card Payment With added delay

> 📘
> You can add a delay by using `Delayxx`, where the `xx` is expected delay in seconds. The values supported for delay are 10s, 30s and 60s.

Payment Request Body:

```
{
  "paymentInstrument": {
    "type": "card",
    "nameOnCard": "1000 Delay10",
    "pan": "4242424242424242",
    "expiryDate": "01-30",
    "cv2": "123"
  },
  "orderDescription": "BR-DGE Testing - Delay",
  "customerOrderCode": "1234",
  "currencyCode": "GBP",
  "amount": 1500
}
```

Payment Response Body:

```
{
  "code": "1000",
  "message": "Approved",
  "id": "683712465e1c027a698c75c4096c98e7",
  "paymentId": "6fa85998-cced-4d3d-9734-61c0ea5b90fd",
  "actionRequired": false,
  "psp": {
    "name": "bridge1",
    "transactionId": "3d43b7cb-219e-4d0a-ac35-ee7f6b4a9479"
  },
  "pspId": "BRIDGE1",
  "customerOrderCode": "1234"
}
```

### Transaction Declined

Payment Request Body:

```
{
  "paymentInstrument": {
    "type": "card",
    "nameOnCard": "4201",
    "pan": "4242424242424242",
    "expiryDate": "01-30",
    "cv2": "123"
  },
  "orderDescription": "BR-DGE Testing - Decline - Contact Issuer",
  "customerOrderCode": "1234",
  "currencyCode": "GBP",
  "amount": 1500
}
```

Payment Response Body:

```
{
  "code": "4201",
  "message": "Cardholder should contact issuer",
  "id": "6837119959e2c0e5bcfb3120bee000d0",
  "paymentId": "cd7dda0a-bbae-40b1-b50c-894683ce64f3",
  "actionRequired": false,
  "psp": {
    "name": "bridge1",
    "transactionId": "5cd4f023-79fd-4306-80b5-ab49cc223574"
  },
  "pspId": "BRIDGE1",
  "customerOrderCode": "1234"
}
```

### Invalid Credit Card Number

Payment Request Body:

```
{
  "paymentInstrument": {
    "type": "card",
    "nameOnCard": "4206",
    "pan": "4242424242424242",
    "expiryDate": "01-30",
    "cv2": "123"
  },
  "orderDescription": "BR-DGE Testing - Invalid card",
  "customerOrderCode": "1234",
  "currencyCode": "GBP",
  "amount": 1500
}
```

Payment Response Body:

```
{
  "code": "4206",
  "message": "Invalid credit card number",
  "id": "6837121606e957e8625195eedbcb9dff",
  "paymentId": "38244f0a-3200-4290-9ae7-22a43b58d451",
  "actionRequired": false,
  "psp": {
    "name": "bridge1",
    "transactionId": "45498eb2-0531-457a-a989-cb30510434a9"
  },
  "pspId": "BRIDGE1",
  "customerOrderCode": "1234"
}
```

> 💡
> Not yet on the BR-DGE platform? [Contact our Sales team] to get the started.

[Hosted Payment Page]: hosted-payment-page

[BR-DGE Portal]: br-dge-portal#smart-routing

[Card Payments]: payment-flows#card-payment-flow

[Contact our Sales team]: sales@br-dge.to

[Response Codes]: response-codes

[POST /v1/payments]: /reference/createpaymentusingpost