Skip to main content

Credit Check for Private Customer

Description:
Credit check for private customer by personalId.

Authentication

This endpoint requires authentication using a Bearer Token. The client must send the token in the Authorization header for every request.

Example Authentication Header:

Authorization: Bearer YOUR_ACCESS_TOKEN

If the token is missing or invalid, the API will return a 401 Unauthorized response.

Endpoint : https://demo-api.frontpayment.no/api/v1/connect//credit/check/private
Method :  POST
Authentication : Bearer
Payload Validation :
'personalId' => 'required|string',
'countryCode' => 'nullable|string',
'msisdn' => 'nullable|string'

Example Payload :
{
    "personalId": "ckFXQWJqeFlieE06ZDU3NGJlNTczMGYx",
    "countryCode": null,
    "msisdn": null
}

Response Structure :
{
    "status_code": "integer",
    "status_message": "String",
    "message": "String",
    "is_data": "Boolean",
    "data": "Array"
}
Example Response :
{
    "status_code": 200,
    "status_message": "OK",
    "message": "creditCheckRequestedSuccessful",
    "is_data": false,
    "data": null
}
{
    "status_code": 510,
    "status_message": "Execution Exception Occurred",
    "message": "personCurrentStatusIsWrong",
    "is_error": true,
    "errors": "Ugyldig fødselsnummer"
}