First, Metropol QR is activated for the wallet using the "AddProviderMediaToWallet" service. Relevant endpoint and http method information are given below.
| HTTP Method | URL |
|---|---|
| POST | /v1/Account/AddProviderMediaToWallet |
| Params | Type | Mandatory |
|---|---|---|
| account_number | string | Yes |
| wallet_number | string | Yes |
| provider_id | string | Yes |
| media_key | string | No |
| Params | Type |
|---|---|
| status | int |
| code | string |
| message | string |
| payload | boolean |
REQUEST (POST) :
{
"account_number": "EEEEEE00",
"wallet_number": "101111111",
"provider_id": "Metropol"
}
RESPONSE:
{
"status": 0,
"code": "100",
"message": null,
"payload": true
}