diff --git a/src/data/methods/data.ts b/src/data/methods/data.ts index 9b6f6518..d9d6b701 100644 --- a/src/data/methods/data.ts +++ b/src/data/methods/data.ts @@ -39,6 +39,12 @@ export interface MethodData extends Model<'method', PaymentMethodEnum> { * @see https://docs.mollie.com/reference/v2/methods-api/get-method?path=_links#response */ _links: Links; + /** + * The status of the payment method. + * + * @see https://docs.mollie.com/reference/v2/methods-api/get-method?path=status#response + */ + status: MethodStatus | null; } export interface Image { @@ -62,6 +68,15 @@ export interface Image { svg: string; } +export enum MethodStatus { + activated = 'activated', + pendingBoarding = 'pending-boarding', + pendingReview = 'pending-review', + pendingExternal = 'pending-external', + rejected = 'rejected', +} + + export enum MethodImageSize { size1x = 'size1x', size2x = 'size2x',