Available Banks
Retrieve the banks that have been specifically assigned to your service and present them to your users.
The Available Banks model
- Name
_id- Type
- string
- Description
Unique identifier of the bank.
- Name
name- Type
- string
- Description
Bank name.
GET/available-banks
Get Available Banks
This endpoint returns all banks defined exclusively for your service. You will use the returned _id value as bankId when creating a transaction.
Request
GET
/available-bankscurl -G https://<service-name>.api.paypa.app/available-banks \
-H "sign: {signature}" \
-H "appKey: {appKey}"
Response
{
"data": [
{
"_id": "5fe0f093bb4f0b001b5ea63d",
"name": "Fake Bank (₺100,00 - ₺100.000,00)"
}
],
"status": 200,
"responseTime": "12ms",
"app_version": "paypa-v0.0.1"
}