@sumup/sdk
    Preparing search index...

    Type Alias PaymentInstrumentResponse

    Payment Instrument Response

    Details of a saved payment instrument.

    type PaymentInstrumentResponse = {
        active?: boolean;
        card?: { last_4_digits?: string; type?: CardType };
        created_at?: string;
        mandate?: MandateResponse;
        token?: string;
        type?: "card";
    }
    Index
    active?: boolean

    Indicates whether the payment instrument is active and can be used for payments. To deactivate it, send a DELETE request to the resource endpoint.

    Default: true

    card?: { last_4_digits?: string; type?: CardType }

    Details of the payment card.

    Type Declaration

    • Optional Readonlylast_4_digits?: string

      Last 4 digits of the payment card number.

      Min length: 4

      Max length: 4

    • Optionaltype?: CardType
    created_at?: string

    The timestamp of when the payment instrument was created.

    Format: date-time

    mandate?: MandateResponse
    token?: string

    Token identifying the customer's saved payment card. Pass it as token, together with the associated customer_id and payment_type = card, when processing a checkout with this instrument.

    type?: "card"

    Type of the payment instrument.