UNPKG

@sumup/sdk

Version:

The official TypeScript SDK for the SumUp API

30 lines 837 B
/** * Problem * * A RFC 9457 problem details object. * * Additional properties specific to the problem type may be present. */ export type Problem = { /** * A URI reference that identifies the problem type. */ type: string; /** * A short, human-readable summary of the problem type. */ title?: string; /** * The HTTP status code generated by the origin server for this occurrence of the problem. */ status?: number; /** * A human-readable explanation specific to this occurrence of the problem. */ detail?: string; /** * A URI reference that identifies the specific occurrence of the problem. */ instance?: string; } & Omit<Record<string, unknown>, "type" | "title" | "status" | "detail" | "instance">; //# sourceMappingURL=problem.d.cts.map