Get Provider Details
GET API call to get the provider id and payment scheme details. When submitting IBAN request, the provider_id is passed as a parameter to ensure that the IBAN is created under the correct provider for the schemes, and currency as required.
/GetProviderDetails
import requests
url = “https://stageapi.cfsemoney.com/v1/GetProviderDetails”
payload={}
headers = {
‘x-api-key’: ‘Your-API-KEY’,
‘Authorization’: ‘Bearer <<bearer-token>>‘
}
response = requests.request(“GET”, url, headers=headers, data=payload)
print(response.text)
curl –location –request GET ‘https://stageapi.cfsemoney.com/v1/GetProviderDetails’ \
–header ‘x-api-key: ‘Your-API-KEY‘
–header ‘Authorization: Bearer <<bearer-token>>‘
{
“statusCode”: 200,
“body”: “{\”data\”: {\”providerDetails\”: [{\”providername\”: \”ClearBank (CB)\”, \”providerid\”: 10, \”currencytype\”: \”GBP\”,
\”servicesoffered\”: \”FPS,CHAPS,BACS\”}, {\”providername\”: \”CFS Bank of Lithuania (CFSBoL)\”, \”providerid\”: 4881,
\”currencytype\”: \”EUR\”, \”servicesoffered\”: \”SEPA-SCT\”}, {\”providername\”: \”ClearBank (CB)\”, \”providerid\”: 6441,
\”currencytype\”: \”USD\”, \”servicesoffered\”: \”SWIFT\”}, {\”providername\”: \”ClearBank (CB)\”, \”providerid\”: 6463,
\”currencytype\”: \”SEK\”, \”servicesoffered\”: \”SWIFT\”}, {\”providername\”: \”ClearBank (CB)\”, \”providerid\”: 6464,
\”currencytype\”: \”HUF\”, \”servicesoffered\”: \”SWIFT\”}, {\”providername\”: \”ClearBank (CB)\”, \”providerid\”: 6465,
\”currencytype\”: \”CZK\”, \”servicesoffered\”: \”SWIFT\”}, {\”providername\”: \”ClearBank (CB)\”, \”providerid\”: 6466,
\”currencytype\”: \”DKK\”, \”servicesoffered\”: \”SWIFT\”}, {\”providername\”: \”ClearBank (CB)\”, \”providerid\”: 6467,
\”currencytype\”: \”NOK\”, \”servicesoffered\”: \”SWIFT\”}, {\”providername\”: \”ClearBank (CB)\”, \”providerid\”: 58876,
\”currencytype\”: \”RON\”, \”servicesoffered\”: \”SWIFT\”}, {\”providername\”: \”ClearBank (CB)\”, \”providerid\”: 6503,
\”currencytype\”: \”EUR\”, \”servicesoffered\”: \”SWIFT\”}, {\”providername\”: \”ClearBank (CB)\”, \”providerid\”: 58878,
\”currencytype\”: \”PLN\”, \”servicesoffered\”: \”SWIFT\”}]}, \”message\”: \”provider details fetched successfully.\”,
\”status\”: true}”
}
{
“statusCode”: 400,
“body”: “{\”message\”: \”xxx”}”
}