CreateCardExtraData

public struct CreateCardExtraData

Extra data to be sent along card creation data.

  • The system will use this account as the owner of the card being created in the system. This field is optional, and if not present, we will use the account id extracted from the authorization token of the current request.

    Declaration

    Swift

    public var accountUuid: String
  • This is a value that identifies the card in your own system. This field MUST be unique per account and it is used to validate against duplicate records.

    Attention

    If you send two cards with same external_id the system will return an HTTP status code 409 - conflict

    Declaration

    Swift

    public var externalId: String
  • Auxiliary constructor.

    Declaration

    Swift

    public init(accountUuid: String, externalId: String)

    Parameters

    accountUuid

    This is a value that identifies the card in your own system.

    externalId

    This is a value that identifies the card in your own system.