UNPKG

@sumup/sdk

Version:

The official TypeScript SDK for the SumUp API

18 lines 485 B
/** * 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.ts.map