| Field | Type | Required | Description | Example |
|---|---|---|---|---|
status |
double | ✔️ | The HTTP status code returned by the provider | 200 |
headers |
Map<String, Object> | ➖ | The headers returned by the provider | { "content-type": "application/json", "x-request-id": "123e4567-e89b-12d3-a456-426614174000" } |
data |
JsonNullable<Data> | ➖ | The response data from the provider. Can be an object, array, or primitive value. | { "id": "123", "name": "John Doe", "email": "john.doe@example.com" } |
providerErrors |
List<ProviderErrorApiModel> | ➖ | Provider-specific errors if any occurred | [ { "status": 400, "url": "https://api.someprovider.com/v1/endpoint", "raw": { "error": "Bad Request", "message": "The supplied data is invalid" }, "headers": { "date": "Tue, 02 Apr 2024 13:52:01 GMT", "content-type": "application/json; charset=utf-8" } } ] |