Returns a resposne when you attach a payment intent.
Map<String, dynamic> toMap() { return { 'id': id, 'type': type, 'attributes': attributes.toMap(), }; }