API - Description - IDMOBILE - Billing Consent - Response

Support DQE
Support DQE
  • Updated

Billing request success response

The response is a JSON object whose keys are defined below:

KeyDescriptionFormat
statussuccess: indicates that the information was successfully retrieved.STRING
scopebillingSTRING
billingProof of address in Base64 encoding.STRING

Response example:

{
  "status": "success",
  "scope": "billing",
  "billing": "N0YXJ0eHJlZgo0OTg2MQolJUVPRgoKLS1ZS0xJNTYpPUlSeFdNUzEoYXJpOWI/UklzLkRXZ1dwUF9FLS0K"
}

Billing request pending response

The response is a JSON object whose keys are defined below:

KeyDescriptionFormat
statuspending: indicates that DQE is waiting for the operator response.STRING
scopebillingSTRING

Response example:

{
  "status": "pending",
  "scope": "billing"
}

Billing request error response

The response is a JSON object whose keys are defined below:

KeyDescriptionFormat
statuserror: indicates that the request failed.STRING
error_typeError label. Details are provided in the table below.STRING
error_idError code. Details are provided in the table below.STRING(2)

Error code details:

Error IDError typeDescription
01invalid requestThe request is not valid.
02invalid licence keyThe licence is not valid.
04invalid scopeInvalid scope.
18failed to retrieve data from operatorNo data was received after OTP validation.
20OTP incorrectOTP validation was not completed.
21access deniedOTP validation was declined.
30invalid or expired tokenThe token has expired.
99internal server errorServer error.

Response example:

{
  "status": "error",
  "error_type": "internal server error",
  "error_id": "99"
}

Related to

Was this article helpful?

0 out of 0 found this helpful