# Bank List

## B2C (Retail Banking) Endpoint URL

Becoming a super hero is a fairly straight forward process:

| Environment | URL                                                    | Method |
| ----------- | ------------------------------------------------------ | ------ |
| Sandbox     | <https://sandbox.securepay.my/api/public/v1/banks/b2c> | GET    |
| Production  | <https://securepay.my/api/public/v1/banks/b2c>         | GET    |

Getting bank list

{% embed url="<https://sandbox.securepay.my/api/public/v1/banks/b2c>" %}

Getting online and offline only

{% embed url="<https://sandbox.securepay.my/api/public/v1/banks/b2c?status=online>" %}

{% embed url="<https://sandbox.securepay.my/api/public/v1/banks/b2c?status=offline>" %}

## B2B (Corporate Banking) Endpoint URL

| Environment | URL                                                    | Method |
| ----------- | ------------------------------------------------------ | ------ |
| Sandbox     | <https://sandbox.securepay.my/api/public/v1/banks/b2b> | GET    |
| Production  | <https://securepay.my/api/public/v1/banks/b2b>         | GET    |

Getting bank list

{% embed url="<https://sandbox.securepay.my/api/public/v1/banks/b2b>" %}

Getting online and offline only

{% embed url="<https://sandbox.securepay.my/api/public/v1/banks/b2b?status=online>" %}

{% embed url="<https://sandbox.securepay.my/api/public/v1/banks/b2b?status=offline>" %}
