PaymentInstrumentResponse

Details of a saved payment instrument.

Fields

  • tokenstring

    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.

    Example: "bcfc8e5f-3b47-4cb9-854b-3b7a4cce7be3"

  • activeboolean
    default: true

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

  • typestring
    Options:"card"

    Type of the payment instrument.

    Example: "card"

  • cardobject

    Details of the payment card.

    Show 2 properties
    • minLength: 4maxLength: 4

      Last 4 digits of the payment card number.

      Example: "3456"

    • typestring
      Options:"ALELO""AMEX""BANCOMAT""CONECS""CUP""DINERS""DISCOVER""EFTPOS""ELO""ELV""GIROCARD""HIPERCARD""INTERAC""JCB""MAESTRO""MASTERCARD""PLUXEE""SUMUP""SWILE""TICKET""VISA""VISA_ELECTRON""VISA_VPAY""VPAY""VR""UNKNOWN"

      Issuing card network of the payment card used for the transaction.

      Example: "VISA"

  • mandateobject

    Details of the mandate linked to the saved payment instrument.

    Example: {"type":"recurrent","status":"active","merchant_code":"MH4H92C7"}

    Show 3 properties
    • typestring

      Type of mandate stored for the checkout or payment instrument.

      Example: "recurrent"

    • statusstring
      Options:"active""inactive"

      Current lifecycle status of the mandate.

      Example: "active"

    • Short unique identifier for the merchant for which the mandate is valid.

      Example: "MH4H92C7"

  • format: date-time

    The timestamp of when the payment instrument was created.

    Example: "2021-03-30T10:06:07.000+00:00"

Type to search…