@sumup/sdk
Version:
The official TypeScript SDK for the SumUp API
18 lines • 486 B
text/typescript
/**
* Unauthorized
*
* 401 Unauthorized
*/
export type Unauthorized = {
errors: {
/**
* Fuller message giving context to error
*/
detail: string;
/**
* Key indicating type of error. Present only for typed 401 responses (e.g. invalid token, invalid password). Absent for generic unauthorized responses.
*/
type?: "INVALID_ACCESS_TOKEN" | "INVALID_PASSWORD";
};
};
//# sourceMappingURL=unauthorized.d.cts.map